diff options
author | Neil <devnull@localhost> | 2016-01-07 11:38:30 +1100 |
---|---|---|
committer | Neil <devnull@localhost> | 2016-01-07 11:38:30 +1100 |
commit | a0f99f45638f0d10e7682db40b649c3a7bde0e34 (patch) | |
tree | 20ad63f080d62f8dd60c041bcccaae940ca9569e /lexers/LexErrorList.cxx | |
parent | 1042e27ed099c82a7277d65d0dc6686c8b68064b (diff) | |
download | scintilla-mirror-a0f99f45638f0d10e7682db40b649c3a7bde0e34.tar.gz |
Fix bug with final line in escape sequence recognition mode.
Diffstat (limited to 'lexers/LexErrorList.cxx')
-rw-r--r-- | lexers/LexErrorList.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lexers/LexErrorList.cxx b/lexers/LexErrorList.cxx index 56ae86594..d6fe5ee77 100644 --- a/lexers/LexErrorList.cxx +++ b/lexers/LexErrorList.cxx @@ -378,6 +378,7 @@ static void ColouriseErrorListDoc(Sci_PositionU startPos, Sci_Position length, i } } if (linePos > 0) { // Last line does not have ending characters + lineBuffer[linePos] = '\0'; ColouriseErrorListLine(lineBuffer, linePos, startPos + length - 1, styler, valueSeparate, escapeSequences); } } |