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 | |
parent | 0e9af9602a2e5b6c337626f8629f3fb0acea805c (diff) | |
download | scintilla-mirror-9fed0af96ce3f5bb1f9a3259497bd66602afa339.tar.gz |
Fix bug with final line in escape sequence recognition mode.
-rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
-rw-r--r-- | lexers/LexErrorList.cxx | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 40a768a62..fa910eef3 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -523,6 +523,9 @@ Errorlist lexer highlights warning messages from the Microsoft linker. </li> <li> + Errorlist lexer fixes bug with final line in escape sequence recognition mode. + </li> + <li> Lua lexer includes '&' and '|' bitwise operators for Lua 5.3. <a href="http://sourceforge.net/p/scintilla/bugs/1790/">Bug #1790</a>. </li> 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); } } |