diff options
| author | Zufu Liu <unknown> | 2019-10-13 19:20:11 +1100 |
|---|---|---|
| committer | Zufu Liu <unknown> | 2019-10-13 19:20:11 +1100 |
| commit | 69c098c6c4463bebca4915459da805717052ab6c (patch) | |
| tree | 034eb6e498c99e941d16361a8a211a35d714f6f4 | |
| parent | cf068493da469a4893b032f92ce01153d5a7fd0e (diff) | |
| download | scintilla-mirror-69c098c6c4463bebca4915459da805717052ab6c.tar.gz | |
Backport: Added const from patch on bug #2131.
Backport of changeset 7705:620c84903b32.
| -rw-r--r-- | lexers/LexTCL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx index 5bba2b6a1..5c73fb52e 100644 --- a/lexers/LexTCL.cxx +++ b/lexers/LexTCL.cxx @@ -45,7 +45,7 @@ static inline bool IsANumberChar(int ch) { static void ColouriseTCLDoc(Sci_PositionU startPos, Sci_Position length, int , WordList *keywordlists[], Accessor &styler) { #define isComment(s) (s==SCE_TCL_COMMENT || s==SCE_TCL_COMMENTLINE || s==SCE_TCL_COMMENT_BOX || s==SCE_TCL_BLOCK_COMMENT) - bool foldComment = styler.GetPropertyInt("fold.comment") != 0; + const bool foldComment = styler.GetPropertyInt("fold.comment") != 0; const bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0; bool commentLevel = false; bool subBrace = false; // substitution begin with a brace ${.....} |
