From a0f99f45638f0d10e7682db40b649c3a7bde0e34 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 7 Jan 2016 11:38:30 +1100 Subject: Fix bug with final line in escape sequence recognition mode. --- lexers/LexErrorList.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'lexers/LexErrorList.cxx') 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); } } -- cgit v1.2.3