Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better function coloring and removed number coloring for now

  • Loading branch information...
commit afc036e2af96f2525b56cf12f18706e819fbac12 1 parent e42433b
@nfiniteset nfiniteset authored
Showing with 11 additions and 10 deletions.
  1. +11 −10 Contents/Resources/SyntaxDefinition.xml
View
21 Contents/Resources/SyntaxDefinition.xml
@@ -121,25 +121,26 @@
- <state id="Function" color="#400080" font-weight="bold">
- <begin><regex>[-=]></regex></begin>
+ <state id="Function" color="#4262dc" font-weight="bold">
+ <begin><regex>(?:[\(][\w\s\.\,\$]*[\)][\s])?[-=]></regex></begin>
<end><regex>[\s]</regex></end>
+
+ <state id="Arguments" color="#400080" font-weight="normal">
+ <begin><regex>\(</regex></begin>
+ <end><regex>\)</regex></end>
+ </state>
</state>
-
-<!-- <state id="Function" color="#400080" font-weight="bold">
- <begin><regex>[^\n\r][\w*]?\w*\s*[=:][^\n\r]*[-=]></regex></begin>
- <end><regex>[\s]</regex></end>
- </state>-->
+
<state id="Property" color="#400080" font-weight="bold">
- <begin><regex>[^\n\r][\w\.]*?\w*\s*[=:]</regex></begin>
+ <begin><regex>[^\n\r][\w]*?[\.]*?\w*\s*[=:]</regex></begin>
<end><regex>\s</regex></end>
</state>
- <keywords id="Numbers" color="#00f" useforautocomplete="no">
+<!-- <keywords id="Numbers" color="#00f" useforautocomplete="no">
<regex>(?&lt;=[^\w\d]|^)(((([0-9]+\.[0-9]*)|(\.[0-9]+))([eE][+\-]?[0-9]+)?[fFlL]?)|((([1-9][0-9]*)|0[0-7]*|(0[xX][0-9a-fA-F]+))(([uU][lL]?)|([lL][uU]?))?))(?=[^\w\d]|$)</regex>
- </keywords>
+ </keywords> -->
<keywords id="Characters" color="#00f" useforautocomplete="no">
<regex>('.')</regex>

0 comments on commit afc036e

Please sign in to comment.
Something went wrong with that request. Please try again.