diff options
author | nyamatongwe <unknown> | 2007-06-07 11:29:09 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-06-07 11:29:09 +0000 |
commit | 8ec2442ab4a0a8d568b970281aded681634f1cf1 (patch) | |
tree | 69b9e9e0b4bcc7af0e68a7058bc36ad23d4438b9 /src | |
parent | dc154931cf758f8a2347699e4f3facd9edb000a4 (diff) | |
download | scintilla-mirror-8ec2442ab4a0a8d568b970281aded681634f1cf1.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) { |