[gedit-plugins] Fix vi modelines
- From: Matěj Cepl <mcepl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Fix vi modelines
- Date: Tue, 25 Aug 2015 14:40:29 +0000 (UTC)
commit ea2f115efdbcaef60bec58836a979790de7cb1aa
Author: Matěj Cepl <mcepl cepl eu>
Date: Sat Jun 27 02:03:23 2015 +0200
Fix vi modelines
Modeline
# vi:ex:ts=4:et
is wrong. It should either with vi: or ex:, but not both.
https://bugzilla.gnome.org/show_bug.cgi?id=754083
plugins/commander/commander/__init__.py | 2 +-
plugins/commander/commander/appactivatable.py | 2 +-
plugins/commander/commander/commands/__init__.py | 2 +-
.../commander/commander/commands/accel_group.py | 2 +-
plugins/commander/commander/commands/completion.py | 2 +-
plugins/commander/commander/commands/exceptions.py | 2 +-
plugins/commander/commander/commands/method.py | 2 +-
plugins/commander/commander/commands/module.py | 2 +-
plugins/commander/commander/commands/result.py | 2 +-
.../commander/commands/rollbackimporter.py | 2 +-
plugins/commander/commander/entry.py | 2 +-
plugins/commander/commander/history.py | 2 +-
plugins/commander/commander/info.py | 2 +-
plugins/commander/commander/modules.py | 2 +-
plugins/commander/commander/utils.py | 2 +-
plugins/commander/commander/windowactivatable.py | 2 +-
plugins/commander/modules/align.py | 2 +-
plugins/commander/modules/bookmark.py | 2 +-
plugins/commander/modules/doc.py | 2 +-
plugins/commander/modules/edit.py | 4 ++--
plugins/commander/modules/find/__init__.py | 2 +-
plugins/commander/modules/find/finder.py | 2 +-
plugins/commander/modules/find/regex.py | 2 +-
plugins/commander/modules/format.py | 2 +-
plugins/commander/modules/goto.py | 2 +-
plugins/commander/modules/help.py | 2 +-
plugins/commander/modules/move.py | 2 +-
plugins/commander/modules/reload.py | 2 +-
plugins/commander/modules/set.py | 2 +-
plugins/commander/modules/shell.py | 2 +-
30 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/plugins/commander/commander/__init__.py b/plugins/commander/commander/__init__.py
index 64cd19b..e976dae 100644
--- a/plugins/commander/commander/__init__.py
+++ b/plugins/commander/commander/__init__.py
@@ -34,4 +34,4 @@ gi.require_version('Gtk', '3.0')
from appactivatable import CommanderAppActivatable
from windowactivatable import CommanderWindowActivatable
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/appactivatable.py b/plugins/commander/commander/appactivatable.py
index 0f1998c..b100370 100644
--- a/plugins/commander/commander/appactivatable.py
+++ b/plugins/commander/commander/appactivatable.py
@@ -57,4 +57,4 @@ class CommanderAppActivatable(GObject.Object, Gedit.AppActivatable):
self.app.remove_accelerator("win.commander", None)
self.menu_ext = None
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/__init__.py
b/plugins/commander/commander/commands/__init__.py
index 4390b90..92112c4 100644
--- a/plugins/commander/commander/commands/__init__.py
+++ b/plugins/commander/commander/commands/__init__.py
@@ -459,4 +459,4 @@ class Commands(Singleton):
# Reload the module
self.reload_module(path)
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/accel_group.py
b/plugins/commander/commander/commands/accel_group.py
index 05fe9a8..bb40c80 100644
--- a/plugins/commander/commander/commands/accel_group.py
+++ b/plugins/commander/commander/commands/accel_group.py
@@ -124,4 +124,4 @@ class AccelGroup:
return name
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/completion.py
b/plugins/commander/commander/commands/completion.py
index 2599a13..52cfd50 100644
--- a/plugins/commander/commander/commands/completion.py
+++ b/plugins/commander/commander/commands/completion.py
@@ -218,4 +218,4 @@ def words(ret):
return decorator
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/exceptions.py
b/plugins/commander/commander/commands/exceptions.py
index 3bd88b0..1364dd3 100644
--- a/plugins/commander/commander/commands/exceptions.py
+++ b/plugins/commander/commander/commands/exceptions.py
@@ -26,4 +26,4 @@ class Execute(Exception):
def __str__(self):
return self.msg
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/method.py b/plugins/commander/commander/commands/method.py
index 8b949e1..97de4a2 100644
--- a/plugins/commander/commander/commands/method.py
+++ b/plugins/commander/commander/commands/method.py
@@ -124,4 +124,4 @@ class Method:
else:
return self.name < other
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/module.py b/plugins/commander/commander/commands/module.py
index e8dccba..aea4014 100644
--- a/plugins/commander/commander/commands/module.py
+++ b/plugins/commander/commander/commands/module.py
@@ -150,4 +150,4 @@ class Module(method.Method):
sys.path = oldpath
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/result.py b/plugins/commander/commander/commands/result.py
index c9058a7..c1d616f 100644
--- a/plugins/commander/commander/commands/result.py
+++ b/plugins/commander/commander/commands/result.py
@@ -67,4 +67,4 @@ class Suspend(Result):
args = cb[1]
cb[0](*args)
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/commands/rollbackimporter.py
b/plugins/commander/commander/commands/rollbackimporter.py
index 5fa298c..31835b4 100644
--- a/plugins/commander/commander/commands/rollbackimporter.py
+++ b/plugins/commander/commander/commands/rollbackimporter.py
@@ -56,4 +56,4 @@ class RollbackImporter:
self._new_modules = []
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/entry.py b/plugins/commander/commander/entry.py
index cb7b4b2..0a376b3 100644
--- a/plugins/commander/commander/entry.py
+++ b/plugins/commander/commander/entry.py
@@ -783,4 +783,4 @@ GtkEntry#gedit-commander-entry {
self._view = None
self._view_style_updated_id = None
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/history.py b/plugins/commander/commander/history.py
index f6ce8f4..9463ba0 100644
--- a/plugins/commander/commander/history.py
+++ b/plugins/commander/commander/history.py
@@ -98,4 +98,4 @@ class History:
except IOError:
pass
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/info.py b/plugins/commander/commander/info.py
index 20ac5a2..a18c240 100644
--- a/plugins/commander/commander/info.py
+++ b/plugins/commander/commander/info.py
@@ -282,4 +282,4 @@ class Info(Gtk.Box):
else:
callback()
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/modules.py b/plugins/commander/commander/modules.py
index f62463a..9f5d2ea 100644
--- a/plugins/commander/commander/modules.py
+++ b/plugins/commander/commander/modules.py
@@ -1,3 +1,3 @@
# All modules are imported here by the commander
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/utils.py b/plugins/commander/commander/utils.py
index c058f66..ec44126 100644
--- a/plugins/commander/commander/utils.py
+++ b/plugins/commander/commander/utils.py
@@ -63,4 +63,4 @@ def getargspec(func):
return ret
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/commander/windowactivatable.py
b/plugins/commander/commander/windowactivatable.py
index 44e1daf..9ba2cda 100644
--- a/plugins/commander/commander/windowactivatable.py
+++ b/plugins/commander/commander/windowactivatable.py
@@ -90,4 +90,4 @@ class CommanderWindowActivatable(GObject.Object, Gedit.WindowActivatable):
def on_entry_destroy(self, widget, view):
view._entry = None
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/align.py b/plugins/commander/modules/align.py
index 255fa6e..f15dfda 100644
--- a/plugins/commander/modules/align.py
+++ b/plugins/commander/modules/align.py
@@ -279,4 +279,4 @@ The regular expression will be matched in case-insensitive mode"""
yield _regex(view, reg, align_group, padding, padding_group, re.IGNORECASE)
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/bookmark.py b/plugins/commander/modules/bookmark.py
index 4864e63..3c18903 100644
--- a/plugins/commander/modules/bookmark.py
+++ b/plugins/commander/modules/bookmark.py
@@ -86,4 +86,4 @@ Jump to the previous bookmark location"""
window.get_message_bus().send('/plugins/bookmarks', 'goto_previous', view=view)
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/doc.py b/plugins/commander/modules/doc.py
index 9457b59..2d81080 100644
--- a/plugins/commander/modules/doc.py
+++ b/plugins/commander/modules/doc.py
@@ -236,4 +236,4 @@ for it to work."""
doc.append(" *\n */\n")
doc.insert()
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/edit.py b/plugins/commander/modules/edit.py
index 707b0ea..56c8939 100644
--- a/plugins/commander/modules/edit.py
+++ b/plugins/commander/modules/edit.py
@@ -201,7 +201,7 @@ def __default__(view, entry):
Use this to apply the cool new feature\"\"\"
pass
-# vi:ts=4:et
+# ex:ts=4:et
"""
def new_command(view, entry, name):
@@ -238,4 +238,4 @@ def save_all(view):
locals()['file'] = __default__
move = rename
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/find/__init__.py b/plugins/commander/modules/find/__init__.py
index d081283..3118ecc 100644
--- a/plugins/commander/modules/find/__init__.py
+++ b/plugins/commander/modules/find/__init__.py
@@ -96,4 +96,4 @@ locals()['//'] = replace
locals()['r/'] = regex.__default__
locals()['r//'] = regex.replace
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/find/finder.py b/plugins/commander/modules/find/finder.py
index 562b29e..f59b71a 100644
--- a/plugins/commander/modules/find/finder.py
+++ b/plugins/commander/modules/find/finder.py
@@ -325,4 +325,4 @@ class Finder:
self.cancel()
yield commander.commands.result.DONE
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/find/regex.py b/plugins/commander/modules/find/regex.py
index b05326a..e1029e1 100644
--- a/plugins/commander/modules/find/regex.py
+++ b/plugins/commander/modules/find/regex.py
@@ -255,4 +255,4 @@ Find and replace semantically"""
fd = SemanticFinder(entry)
yield fd.replace(findstr, True, replstr)
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/format.py b/plugins/commander/modules/format.py
index 649822c..f6bf669 100644
--- a/plugins/commander/modules/format.py
+++ b/plugins/commander/modules/format.py
@@ -130,4 +130,4 @@ Transform text in selection to title case. If the optional argument <all>
is specified, text in all the open documents will be transformed."""
return _transform(view, lambda x: x.title().replace('_', ''), all)
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/goto.py b/plugins/commander/modules/goto.py
index 9aae53d..d243695 100644
--- a/plugins/commander/modules/goto.py
+++ b/plugins/commander/modules/goto.py
@@ -60,4 +60,4 @@ def __default__(view, line, column=1):
return commander.commands.result.HIDE
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/help.py b/plugins/commander/modules/help.py
index b0a799e..3f1558a 100644
--- a/plugins/commander/modules/help.py
+++ b/plugins/commander/modules/help.py
@@ -73,4 +73,4 @@ Show detailed information on how to use a certain command (if available)"""
entry.info_show(_doc_text(command, res[0][0]), True)
return commands.result.DONE
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/move.py b/plugins/commander/modules/move.py
index 87addcf..268b8ca 100644
--- a/plugins/commander/modules/move.py
+++ b/plugins/commander/modules/move.py
@@ -113,4 +113,4 @@ Move the cursor per regex (use negative num to move backwards)"""
return commands.result.HIDE
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/reload.py b/plugins/commander/modules/reload.py
index 6f074f6..e23cd1f 100644
--- a/plugins/commander/modules/reload.py
+++ b/plugins/commander/modules/reload.py
@@ -49,4 +49,4 @@ does not work correctly."""
commander.commands.Commands().reload_module(mod)
return commander.commands.result.DONE
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/set.py b/plugins/commander/modules/set.py
index 88b2a68..9e3d129 100644
--- a/plugins/commander/modules/set.py
+++ b/plugins/commander/modules/set.py
@@ -155,4 +155,4 @@ for drawing spaces and tabs: <i>set.draw-spaces space tab</i>"""
view.set_draw_spaces(flags)
return False
-# vi:ex:ts=4:et
+# ex:ts=4:et
diff --git a/plugins/commander/modules/shell.py b/plugins/commander/modules/shell.py
index b3a39c3..43f38f0 100644
--- a/plugins/commander/modules/shell.py
+++ b/plugins/commander/modules/shell.py
@@ -196,4 +196,4 @@ locals()['!'] = __default__
locals()['!!'] = replace
locals()['!&'] = background
-# vi:ex:ts=4:et
+# ex:ts=4:et
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]