diff options
author | nyamatongwe <unknown> | 2000-11-26 01:32:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-11-26 01:32:57 +0000 |
commit | dcf614b69ebfebbd9dd10e8ba3cf36f3029a196f (patch) | |
tree | 68dd386441912b9733eec915ce3084ffb1783201 /src/LexCPP.cxx | |
parent | b06ccad8c14068ed9d3f37b5f6b4fa6e5ce3c7f9 (diff) | |
download | scintilla-mirror-dcf614b69ebfebbd9dd10e8ba3cf36f3029a196f.tar.gz |
Patches from Philippe to improve Lua lexer, handle '\' continuation
at end of line inside strings and to allow 5 digit line numbers when
printing.
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r-- | src/LexCPP.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index bf70b0c81..014b844a7 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -216,7 +216,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo } else if (ch == '\"') { styler.ColourTo(i, state); state = SCE_C_DEFAULT; - } else if (chNext == '\r' || chNext == '\n') { + } else if ((chNext == '\r' || chNext == '\n') && (chPrev != '\\')) { styler.ColourTo(i-1, SCE_C_STRINGEOL); state = SCE_C_STRINGEOL; } |