diff options
author | Neil <unknown> | 2016-01-07 11:38:30 +1100 |
---|---|---|
committer | Neil <unknown> | 2016-01-07 11:38:30 +1100 |
commit | 9fed0af96ce3f5bb1f9a3259497bd66602afa339 (patch) | |
tree | 31298a0fa25cc44bda196757a80bd79db3c9753b /lexers/LexErrorList.cxx | |
parent | 0e9af9602a2e5b6c337626f8629f3fb0acea805c (diff) | |
download | scintilla-mirror-9fed0af96ce3f5bb1f9a3259497bd66602afa339.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); } } |