Permalink
Browse files

Adding new punctuation scopes to various rules.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Processing.tmbundle@5500 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 6c1f9f5 commit 9ae6949f027eb1209ebac1d667c74a6e493b570c @infininight infininight committed Oct 17, 2006
Showing with 65 additions and 1 deletion.
  1. +65 −1 Syntaxes/Processing.plist
@@ -23,6 +23,14 @@
<string>support.function.processing</string>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.processing</string>
+ </dict>
+ </dict>
<key>match</key>
<string>/\*\*/</string>
<key>name</key>
@@ -31,6 +39,14 @@
<dict>
<key>begin</key>
<string>/\*</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.processing</string>
+ </dict>
+ </dict>
<key>end</key>
<string>\*/</string>
<key>name</key>
@@ -39,6 +55,14 @@
<dict>
<key>begin</key>
<string>/\*\*</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.processing</string>
+ </dict>
+ </dict>
<key>end</key>
<string>\*/</string>
<key>name</key>
@@ -77,8 +101,16 @@
</array>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.processing</string>
+ </dict>
+ </dict>
<key>match</key>
- <string>//.*$\n?</string>
+ <string>(//).*$\n?</string>
<key>name</key>
<string>comment.line.double-slash.processing</string>
</dict>
@@ -163,8 +195,24 @@
<dict>
<key>begin</key>
<string>"</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.processing</string>
+ </dict>
+ </dict>
<key>end</key>
<string>"</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.processing</string>
+ </dict>
+ </dict>
<key>name</key>
<string>string.quoted.double.processing</string>
<key>patterns</key>
@@ -180,8 +228,24 @@
<dict>
<key>begin</key>
<string>'</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.processing</string>
+ </dict>
+ </dict>
<key>end</key>
<string>'</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.processing</string>
+ </dict>
+ </dict>
<key>name</key>
<string>string.quoted.single.processing</string>
<key>patterns</key>

0 comments on commit 9ae6949

Please sign in to comment.