<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -80,6 +80,7 @@ ALT+ARROWUP   =&gt; Move current line up
 ALT+ARROWDOWN =&gt; Move current line down
 CTRL+ALT+9    =&gt; Select text enclosed by Pairs Ex: ({&quot;['&lt;
 ALT+W         =&gt; Select Word
+ALT+SHIFT+W   =&gt; Select Word Special (Ignoring delimiters)
 
 Snap Open ( Go to File )
 ------------------------
@@ -136,24 +137,3 @@ Align...
 --------
 ALT+SHIFT+A =&gt; Align Selected text in columns by a given separator.
 
-Multi Edit
-----------
-With Mouse:
-Press CTRL and Click on Places you want to insert/delete text
-With Keyboard: (Deafults, because you can change the keybindings in plugin configuration)
-CTRL+E       =&gt; Add a Mark
-CTRL+[       =&gt; Add a Mark and move Cursor up
-CTRL+'       =&gt; Add a Mark and move Cursor down
-CTRL+SHIFT+{ =&gt; Add a Mark at EOL and move cursor up
-CTRL+SHIFT+&quot; =&gt; Add a Mark at EOL and move cursor down
-
-Auto Increment Shortcuts:
-First add some marks then
-
-CTRL+-       =&gt; Increment from a..z...
-CTRL+_       =&gt; Increment from A..Z...
-CTRL+=       =&gt; Decrement from z..a...
-CTRL+SHIFT+= =&gt; Decrement from Z..A...
-CTRL+0       =&gt; Increment from 0
-CTRL+SHIFT+0 =&gt; Decrement to 0
-</diff>
      <filename>keybindings.txt</filename>
    </modified>
    <modified>
      <diff>@@ -7,3 +7,4 @@ Description=Align blocks of text into columns
 Authors=Osmo Salomaa &lt;otsaloma@cc.hut.fi&gt;
 Copyright=Copyright (C) 2006 Osmo Salomaa
 Website=http://users.tkk.fi/~otsaloma/gedit
+</diff>
      <filename>plugins/align.gedit-plugin</filename>
    </modified>
    <modified>
      <diff>@@ -34,6 +34,7 @@ class TextToolsPlugin(gedit.Plugin):
                   &lt;menuitem action=&quot;LowerLine&quot;/&gt;
                   &lt;menuitem action=&quot;SelectEnclosed&quot;/&gt;
                   &lt;menuitem action=&quot;SelectWord&quot;/&gt;
+                  &lt;menuitem action=&quot;SelectWordSpecial&quot;/&gt;
                 &lt;/menu&gt;
               &lt;/placeholder&gt;
             &lt;/menu&gt;
@@ -45,6 +46,7 @@ class TextToolsPlugin(gedit.Plugin):
 
     def __init__(self):
         gedit.Plugin.__init__(self)
+        self.__select_word_special = False
 
     def activate(self, window):
         actions = [
@@ -54,7 +56,8 @@ class TextToolsPlugin(gedit.Plugin):
             ('RaiseLine',           None, 'Move Line Up',       '&lt;Alt&gt;Up',           'Transpose the current line with the line above it',             self.raise_line),
             ('LowerLine',           None, 'Move Line Down',     '&lt;Alt&gt;Down',         'Transpose the current line with the line below it',             self.lower_line),
             ('SelectEnclosed',      None, 'Select Enclosed Text','&lt;Alt&gt;&lt;Control&gt;9',  'Select the content between enclose chars, quotes or tags',      self.select_enclosed),
-            ('SelectWord',          None, 'Select Word',        '&lt;Alt&gt;W',            'Select the word located under cursor',                          self.select_word)
+            ('SelectWord',          None, 'Select Word',        '&lt;Alt&gt;W',            'Select the word located under cursor',                          self.select_word),
+            ('SelectWordSpecial',   None, 'Select Word Special','&lt;Alt&gt;&lt;Shift&gt;W',     'Select the word located under cursor ignoring any delimiter',   self.select_word_special)
         ]
         windowdata = dict()
         window.set_data(&quot;TextToolsPluginWindowDataKey&quot;, windowdata)
@@ -135,8 +138,8 @@ class TextToolsPlugin(gedit.Plugin):
 
     def select_enclosed(self, action, window):
         &quot;&quot;&quot;Select Characters enclosed by quotes or braces&quot;&quot;&quot;
-        starting_chars = [&quot;`&quot;,'&quot;', &quot;'&quot;, &quot;[&quot;, &quot;(&quot;, &quot;{&quot;, &quot;&lt;&quot;, &quot;&gt;&quot;]
-        ending_chars   = [&quot;`&quot;,'&quot;', &quot;'&quot;, &quot;]&quot;, &quot;)&quot;, &quot;}&quot;, &quot;&gt;&quot;, &quot;&lt;&quot;]
+        starting_chars = [&quot;`&quot;,'&quot;', &quot;'&quot;, &quot;[&quot;, &quot;(&quot;, &quot;{&quot;, &quot;&lt;&quot;, &quot;&gt;&quot;, &quot;/&quot;]
+        ending_chars   = [&quot;`&quot;,'&quot;', &quot;'&quot;, &quot;]&quot;, &quot;)&quot;, &quot;}&quot;, &quot;&gt;&quot;, &quot;&lt;&quot;, &quot;/&quot;]
         beg_iter = None
         end_iter = None
         char_match = None
@@ -154,11 +157,19 @@ class TextToolsPlugin(gedit.Plugin):
                 break
         doc.select_range(beg_iter, end_iter)
 
+    def select_word_special(self, action, window):
+        self.__select_word_special = True
+        self.select_word(action, window)
+        self.__select_word_special = False
+
     def select_word(self, action, window):
         &quot;&quot;&quot;Select Characters enclosed by quotes or braces&quot;&quot;&quot;
         beg_iter = None
         end_iter = None
-        word_delimiter_chars = [&quot; &quot;,&quot;\n&quot;, '&quot;', &quot;'&quot;, &quot;[&quot;, &quot;(&quot;, &quot;{&quot;, &quot;]&quot;, &quot;)&quot;, &quot;}&quot;, &quot;:&quot;, &quot;;&quot;, &quot;`&quot;]
+        if self.__select_word_special:
+            word_delimiter_chars = [&quot; &quot;,&quot;\n&quot;]
+        else:
+            word_delimiter_chars = [&quot; &quot;,&quot;\n&quot;, '&quot;', &quot;'&quot;, &quot;[&quot;, &quot;(&quot;, &quot;{&quot;, &quot;]&quot;, &quot;)&quot;, &quot;}&quot;, &quot;:&quot;, &quot;;&quot;, &quot;`&quot;, &quot;=&quot;]
         char_match = None
         doc = window.get_active_document()
         itr = doc.get_iter_at_mark(doc.get_insert())
@@ -167,9 +178,16 @@ class TextToolsPlugin(gedit.Plugin):
                 itr.forward_char()
                 beg_iter = itr.copy()
                 break
+        if beg_iter == None:
+            beg_iter = itr.copy()
+
         while itr.forward_char():
             if itr.get_char() in word_delimiter_chars:
                 end_iter = itr.copy()
                 break
-        doc.select_range(beg_iter, end_iter)
+        if end_iter == None:
+            end_iter = itr.copy()
+
+        if beg_iter and end_iter:
+            doc.select_range(beg_iter, end_iter)
 </diff>
      <filename>plugins/text_tools/__init__.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>357c3f479415b792b33a498d9c85582773f970a7</id>
    </parent>
  </parents>
  <author>
    <name>Lexrupy</name>
    <email>lexrupy@gmail.com</email>
  </author>
  <url>http://github.com/lexrupy/gmate/commit/779c13ce72a29b658a934dc6b30503879b83f8ac</url>
  <id>779c13ce72a29b658a934dc6b30503879b83f8ac</id>
  <committed-date>2009-04-09T21:50:35-07:00</committed-date>
  <authored-date>2009-04-09T21:50:35-07:00</authored-date>
  <message>Updated texttools select word to select words that reaches begin and end of document. Updated keybindings file</message>
  <tree>0d5911ff86ca24127391265699e4f802a9f50757</tree>
  <committer>
    <name>Lexrupy</name>
    <email>lexrupy@gmail.com</email>
  </committer>
</commit>
