<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,6 +17,8 @@
 	&lt;string&gt;Convert code to inlinecode&lt;/string&gt;
 	&lt;key&gt;output&lt;/key&gt;
 	&lt;string&gt;replaceSelectedText&lt;/string&gt;
+	&lt;key&gt;scope&lt;/key&gt;
+	&lt;string&gt;text.html.textile.codex.slides&lt;/string&gt;
 	&lt;key&gt;uuid&lt;/key&gt;
 	&lt;string&gt;7C434B0D-364F-451C-B952-59D3EBE23A95&lt;/string&gt;
 &lt;/dict&gt;</diff>
      <filename>Commands/Convert code to inlinecode.tmCommand</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 module ConvertToInlinecode
   extend self
   def run(current_line)
-    return &quot;&quot; unless file_name = current_line.match(%r{\s*:code\s+(.*)})
+    return &quot;&quot; unless file_name = current_line.match(%r{\s*:code\s+([^\[]*)})
     file_name = File.join root_path, file_name[1]
     &quot;:inlinecode\n&quot; +
       (File.read(file_name) rescue &quot;&quot;) +</diff>
      <filename>Support/lib/convert_to_inlinecode.rb</filename>
    </modified>
    <modified>
      <diff>@@ -23,4 +23,14 @@ end
     EOS
     assert_equal(expected, ConvertToInlinecode.run(&quot;:code code/dog.rb&quot;))
   end
+
+  def test_file_insert_with_attributes
+    expected = &lt;&lt;-EOS
+:inlinecode
+class Dog
+end
+:endinlinecode
+    EOS
+    assert_equal(expected, ConvertToInlinecode.run(&quot;:code code/dog.rb[class=code-normal]&quot;))
+  end
 end
\ No newline at end of file</diff>
      <filename>Support/test/test_convert_to_inlinecode.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8ca926baeb365e97da6f4a4076ed53ab67df90fe</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/codex-tmbundle/commit/1485e94dd6960131712da471ba20bff858f0b5b0</url>
  <id>1485e94dd6960131712da471ba20bff858f0b5b0</id>
  <committed-date>2008-05-19T06:02:51-07:00</committed-date>
  <authored-date>2008-05-19T06:02:51-07:00</authored-date>
  <message>convert to inline - ignores any [..] attributes</message>
  <tree>58f2152111f80eeaf16243ca30333a36995c9bd9</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
