diff options
author | nyamatongwe <devnull@localhost> | 2007-06-07 11:29:09 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-06-07 11:29:09 +0000 |
commit | 314d4475fc9290806c178007e4c6ef12649f0358 (patch) | |
tree | 69b9e9e0b4bcc7af0e68a7058bc36ad23d4438b9 /src | |
parent | 0c80257e76f3c9e4b78ea5c73518f171938db14f (diff) | |
download | scintilla-mirror-314d4475fc9290806c178007e4c6ef12649f0358.tar.gz |
Patch from Kein-Hong Man fixes a CRLF glitch in LexPS.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexPS.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPS.cxx b/src/LexPS.cxx index ff4521769..2edcff150 100644 --- a/src/LexPS.cxx +++ b/src/LexPS.cxx @@ -107,7 +107,7 @@ static void ColourisePSDoc( sc.SetState(SCE_C_DEFAULT); } else if (sc.atLineEnd) { sc.SetState(SCE_C_DEFAULT); - } else if (IsAWhitespaceChar(sc.ch)) { + } else if (IsAWhitespaceChar(sc.ch) && sc.ch != '\r') { sc.ChangeState(SCE_PS_COMMENT); } } else if (sc.state == SCE_PS_NUMBER) { |