diff options
author | nyamatongwe <devnull@localhost> | 2005-06-06 00:09:19 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-06-06 00:09:19 +0000 |
commit | cd1b67151f4818a97f2219840c3e9e5f14f91d4e (patch) | |
tree | 488beb3b8169585ae4f65584ff68c1a93fcd389c /src/LexPython.cxx | |
parent | 35e4f05c1dccdbbbfce5249644bc05a46116fbca (diff) | |
download | scintilla-mirror-cd1b67151f4818a97f2219840c3e9e5f14f91d4e.tar.gz |
Fixed line end.
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r-- | src/LexPython.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx index 1db5669e1..e13c6220d 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -265,7 +265,8 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, } else if (IsPyStringStart(sc.ch, sc.chNext, sc.GetRelative(2))) { unsigned int nextIndex = 0; sc.SetState(GetPyStringState(styler, sc.currentPos, &nextIndex)); - while (nextIndex > (sc.currentPos + 1) && sc.More()) {
sc.Forward(); + while (nextIndex > (sc.currentPos + 1) && sc.More()) { + sc.Forward(); } } else if (IsAWordStart(sc.ch)) { sc.SetState(SCE_P_IDENTIFIER); |