From cd1b67151f4818a97f2219840c3e9e5f14f91d4e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 6 Jun 2005 00:09:19 +0000 Subject: Fixed line end. --- src/LexPython.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/LexPython.cxx') 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); -- cgit v1.2.3