[gedit-plugins] Fix align help
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Fix align help
- Date: Thu, 16 Aug 2012 08:41:39 +0000 (UTC)
commit ad4a339517ce99111e6680ce7be8c77fc69160ad
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Thu Aug 16 10:41:25 2012 +0200
Fix align help
plugins/commander/modules/align.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/commander/modules/align.py b/plugins/commander/modules/align.py
index 68c1a76..b653d28 100644
--- a/plugins/commander/modules/align.py
+++ b/plugins/commander/modules/align.py
@@ -244,13 +244,13 @@ def _regex(view, reg, group, additional_ws, add_ws_group, flags=0):
yield commander.commands.result.DONE
def __default__(view, reg='\s+', align_group=1, padding=1, padding_group=-1):
- """Align selected in columns using a regular expression: align.regex [<regex>=<strong>\s+</strong>] [<align-group>] [<padding>] [<padding-group>=<strong><align-group></strong>]
+ """Align selected in columns using a regular expression: align.regex [<regex>=<i>\s+</i>] [<align-group>] [<padding>] [<padding-group>=<i><align-group></i>]
Align the selected text in columns separated by the specified regular expression.
The optional <align-group> argument specifies on which group in the regular expression
the text should be aligned and defaults to 1 (or 0 in the case that there is
-no explicit group specified). The <align-group> will be <em>replaced</em>
+no explicit group specified). The <align-group> will be <b>replaced</b>
with whitespace to align the columns. The optional <padding> argument can
be used to add additional whitespace to the column separation. The last
optional argument (<padding-group>) can be used to specify a separate
@@ -262,13 +262,13 @@ The regular expression will be matched in case-sensitive mode"""
yield _regex(view, reg, align_group, padding, padding_group)
def i(view, reg='\s+', align_group=1, padding=1, padding_group=-1):
- """Align selected in columns using a regular expression: align.regex [<regex>=<strong>\s+</strong>] [<align-group>] [<padding>] [<padding-group>=<strong><align-group></strong>]
+ """Align selected in columns using a regular expression: align.regex [<regex>=<i>\s+</i>] [<align-group>] [<padding>] [<padding-group>=<i><align-group></i>]
Align the selected text in columns separated by the specified regular expression.
The optional <align-group> argument specifies on which group in the regular expression
the text should be aligned and defaults to 1 (or 0 in the case that there is
-no explicit group specified). The <align-group> will be <em>replaced</em>
+no explicit group specified). The <align-group> will be <b>replaced</b>
with whitespace to align the columns. The optional <padding> argument can
be used to add additional whitespace to the column separation. The last
optional argument (<padding-group>) can be used to specify a separate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]