diff options
author | Matt Gilarde <unknown> | 2016-05-11 18:10:23 +1000 |
---|---|---|
committer | Matt Gilarde <unknown> | 2016-05-11 18:10:23 +1000 |
commit | 3cff4e5d25ff2bf6b84a3062b3abee5315d17445 (patch) | |
tree | af4baaa6cd69dcc16afd31c4838f18de58c36f3f /lexers/LexProgress.cxx | |
parent | de17c9dce2f7b193cc4761f16909541fa85f73bc (diff) | |
download | scintilla-mirror-3cff4e5d25ff2bf6b84a3062b3abee5315d17445.tar.gz |
Allow comments preceded by a tab.
Diffstat (limited to 'lexers/LexProgress.cxx')
-rw-r--r-- | lexers/LexProgress.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexProgress.cxx b/lexers/LexProgress.cxx index 88a840341..6c687efee 100644 --- a/lexers/LexProgress.cxx +++ b/lexers/LexProgress.cxx @@ -199,7 +199,7 @@ static void Colourise4glDoc(Sci_PositionU startPos, Sci_Position length, int ini sc.SetState(SCE_4GL_COMMENT1 | mask); sc.Forward(); } else if (sc.Match('/', '/') && - (sc.atLineStart || sc.chPrev == ' ')) { + (sc.atLineStart || sc.chPrev == ' ' || sc.chPrev == '\t')) { sc.SetState(SCE_4GL_COMMENT2 | mask); } else if (sc.ch == '\"') { sc.SetState(SCE_4GL_STRING | ResetSentenceStart); |