<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,3 +2,5 @@ This is a GEdit plugin for formatting code.
 currently it supports only ruby code, but I'll add at least support for HTML (I do not like tidy)
 
 To install just copy all files to the directory ~/.gnome2/gedit/plugins
+
+To format a ruby file, open the buffer and press CTRL+ALT+F or use the command &quot;Format Code&quot; from the tools menu.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -32,44 +32,6 @@ ui_str = &quot;&quot;&quot;&lt;ui&gt;
   &lt;/menubar&gt;
 &lt;/ui&gt;
 &quot;&quot;&quot;
-tabSize = 2
-tabStr = &quot; &quot;
-
-indentExp = [
-   &quot;^module\b&quot;,
-   &quot;(=\s*|^)if\b&quot;,
-   &quot;(=\s*|^)until\b&quot;,
-   &quot;(=\s*|^)for\b&quot;,
-   &quot;(=\s*|^)unless\b&quot;,
-   &quot;(=\s*|^)while\b&quot;,
-   &quot;(=\s*|^)begin\b&quot;,
-   &quot;(=\s*|^)case\b&quot;,
-   &quot;\bthen\b&quot;,
-   &quot;^class\b&quot;,
-   &quot;^rescue\b&quot;,
-   &quot;^def\b&quot;,
-   &quot;\bdo\b&quot;,
-   &quot;^else\b&quot;,
-   &quot;^elsif\b&quot;,
-   &quot;^ensure\b&quot;,
-   &quot;\bwhen\b&quot;,
-   &quot;\{[^\}]*$&quot;,
-   &quot;\[[^\]]*$&quot;
-]
-
-# outdent regexp tests
-
-outdentExp = [
-   &quot;^rescue\b&quot;,
-   &quot;^ensure\b&quot;,
-   &quot;^elsif\b&quot;,
-   &quot;^end\b&quot;,
-   &quot;^else\b&quot;,
-   &quot;\bwhen\b&quot;,
-   &quot;^[^\{]*\}&quot;,
-   &quot;^[^\[]*\]&quot;
-]
-
 
 class CodeFormatterPlugin(gedit.Plugin):
     def __init__(self):
@@ -110,10 +72,9 @@ class CodeFormatterWindowHelper:
         # Get the GtkUIManager
         manager = self._window.get_ui_manager()
 
-        # Create a new action group
         self._action_group = gtk.ActionGroup(&quot;CodeFormatterPluginActions&quot;)
-        self._action_group.add_actions([(&quot;FormatCode&quot;, None, _(&quot;Format Code&quot;),
-                                         None, _(&quot;Format the Code&quot;),
+        self._action_group.add_actions([(&quot;FormatCode&quot;, gtk.STOCK_SELECT_COLOR, _(&quot;Format Code&quot;),
+                                         '&lt;Control&gt;&lt;Alt&gt;f', _(&quot;Format the Code&quot;),
                                          self.on_format_code_activate)])
 
         # Insert the action group</diff>
      <filename>code_formatter/__init__.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>369e012dc257962d46db05e65002973162d5c404</id>
    </parent>
  </parents>
  <author>
    <name>Rodrigo Urubatan</name>
    <email>rodrigo@urubatan.com.br</email>
  </author>
  <url>http://github.com/urubatan/gedit_formatter/commit/185d1caf8946073e54771a598b8aa657171c614a</url>
  <id>185d1caf8946073e54771a598b8aa657171c614a</id>
  <committed-date>2008-05-03T18:05:02-07:00</committed-date>
  <authored-date>2008-05-03T18:05:02-07:00</authored-date>
  <message>shortcut and readme update</message>
  <tree>ad5283fb2a38b4b93b91128a7ae54d89973b28aa</tree>
  <committer>
    <name>Rodrigo Urubatan</name>
    <email>rodrigo@urubatan.com.br</email>
  </committer>
</commit>
