Skip to content

Commit

Permalink
updated Localizable.strings to use names instead of directory strucut…
Browse files Browse the repository at this point in the history
…re, added ruby mode to the SyntaxDefinitions.xml
  • Loading branch information
bergantine committed Jul 3, 2010
1 parent 2f9a4d0 commit e7c0f82
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Binary file modified Contents/Resources/English.lproj/Localizable.strings
Binary file not shown.
11 changes: 11 additions & 0 deletions Contents/Resources/SyntaxDefinition.xml
Expand Up @@ -212,6 +212,17 @@
-->
<state-link state="PHP" mode="PHP-HTML" />

<state id="Ruby" color="#000000" inverted-color="#ffffff" font-style="normal" font-weight="normal" usesymbolsfrommode="Ruby" useautocompletefrommode="Ruby">
<begin><regex>(?:&lt;%=?)</regex></begin>
<end><regex>(?:-?%&gt;)</regex></end>
<import mode="Ruby" />

<keywords id="ERB Delimiter" color="#d00000" inverted-color="#ff2f2f" font-style="normal" font-weight="normal" useforautocomplete="no">
<regex>(-?%&gt;)</regex>
<regex>(&lt;%=?)</regex>
</keywords>
</state>

</default>

</states>
Expand Down

0 comments on commit e7c0f82

Please sign in to comment.