Permalink
Browse files

Made PATTERN highlighting a bit more robust

  • Loading branch information...
1 parent fce9c68 commit 3b121ac4feb92eb370d54a2eea86a456fe0a41b6 @djspiewak committed Jan 30, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 scala.xml
View
@@ -154,12 +154,12 @@
<MARK_FOLLOWING TYPE="KEYWORD4" MATCH_TYPE="KEYWORD1" AT_WORD_START="TRUE">with </MARK_FOLLOWING>
<MARK_FOLLOWING TYPE="KEYWORD4" MATCH_TYPE="KEYWORD1" AT_WORD_START="TRUE">with </MARK_FOLLOWING>
- <SPAN DELEGATE="PATTERN" MATCH_TYPE="KEYWORD1" AT_WORD_START="TRUE" NO_LINE_BREAK="TRUE">
+ <SPAN DELEGATE="PATTERN" MATCH_TYPE="KEYWORD1" AT_WORD_START="TRUE" NO_LINE_BREAK="FALSE">
<BEGIN>case </BEGIN>
<END>=&gt;</END>
</SPAN>
- <SPAN DELEGATE="PATTERN" MATCH_TYPE="KEYWORD1" AT_WORD_START="TRUE" NO_LINE_BREAK="TRUE">
+ <SPAN DELEGATE="PATTERN" MATCH_TYPE="KEYWORD1" AT_WORD_START="TRUE" NO_LINE_BREAK="FALSE">
<BEGIN>val </BEGIN>
<END>=</END>
</SPAN>
@@ -244,7 +244,7 @@
<SEQ TYPE="OPERATOR">@</SEQ>
- <SEQ_REGEXP TYPE="KEYWORD4">[A-Z][^(\s:@)\[\]]*</SEQ_REGEXP>
+ <SEQ_REGEXP AT_WORD_START="TRUE" TYPE="KEYWORD4">[A-Z][^(\s:@)\[\]]*</SEQ_REGEXP>
</RULES>
<RULES SET="COMMENT_BLOCK" DEFAULT="COMMENT1">

0 comments on commit 3b121ac

Please sign in to comment.