aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-11-05 20:15:00 +1100
committernyamatongwe <devnull@localhost>2011-11-05 20:15:00 +1100
commit6ab87998d85f5d415ebcffdc45630cedb347985e (patch)
treeecf13aad2e53152d0a0f4751a3fb07baf36ddc01
parente81466ac62bb314f4952b266af77a37657a622b0 (diff)
downloadscintilla-mirror-6ab87998d85f5d415ebcffdc45630cedb347985e.tar.gz
Highlight words as keywords after '{' as this highlights 'else'. Bug #1836954.
From Colomban Wendling.
-rw-r--r--lexers/LexTCL.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx
index de309f2a7..f6924e05e 100644
--- a/lexers/LexTCL.cxx
+++ b/lexers/LexTCL.cxx
@@ -309,6 +309,7 @@ next:
break;
case '}':
sc.SetState(SCE_TCL_OPERATOR);
+ expected = true;
--currentLevel;
break;
case '[':