aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexTCL.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-03-27 09:36:22 +1100
committerNeil <nyamatongwe@gmail.com>2015-03-27 09:36:22 +1100
commit6d1435c6aa427dd01c0bec794cd1cc24dd12798c (patch)
tree697ba963ee23d966108fbdcaea148d980563a453 /lexers/LexTCL.cxx
parent0440058aedb1abf97b616225fe47b6dd76727c2d (diff)
downloadscintilla-mirror-6d1435c6aa427dd01c0bec794cd1cc24dd12798c.tar.gz
Bug [#1642] Reverting change set 5455 which caused problems with highlighting of
braces within strings.
Diffstat (limited to 'lexers/LexTCL.cxx')
-rw-r--r--lexers/LexTCL.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx
index 17414e7df..dfcab54ea 100644
--- a/lexers/LexTCL.cxx
+++ b/lexers/LexTCL.cxx
@@ -257,7 +257,7 @@ next:
sc.ForwardSetState(SCE_TCL_DEFAULT);
visibleChars = true; // necessary if a " is the first and only character on a line
goto next;
- } else if (sc.ch == '[' || sc.ch == ']' || sc.ch == '$' || sc.ch == '(') {
+ } else if (sc.ch == '[' || sc.ch == ']' || sc.ch == '$') {
sc.SetState(SCE_TCL_OPERATOR);
expected = sc.ch == '[';
sc.ForwardSetState(SCE_TCL_IN_QUOTE);
@@ -324,10 +324,7 @@ next:
break;
case '$':
subParen = 0;
- if (sc.chNext == '(') {
- //$("") jquery selector?!
- sc.SetState(SCE_TCL_OPERATOR);
- } else if (sc.chNext != '{') {
+ if (sc.chNext != '{') {
sc.SetState(SCE_TCL_SUBSTITUTION);
} else {
sc.SetState(SCE_TCL_OPERATOR); // $