From ed4cfd6aa01aa0711f25d9ed9689b3d883f53ff7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 23 Mar 2007 21:27:45 +0000 Subject: Patch from Jos van der Zande to fix bug with + following a string getting the wrong color. --- src/LexAU3.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/LexAU3.cxx b/src/LexAU3.cxx index 2bc2e0f4b..1a260d337 100644 --- a/src/LexAU3.cxx +++ b/src/LexAU3.cxx @@ -42,6 +42,7 @@ // Sep 27, 2005 - Fixed the SentKey lexing logic in case of multiple sentkeys. // Mar 12, 2006 - Fixed issue with <> coloring as String in stead of Operator in rare occasions. // Apr 8, 2006 - Added support for AutoIt3 Standard UDF library (SCE_AU3_UDF) +// Mar 9, 2007 - Fixed bug with + following a String getting the wrong Color. // // Copyright for Scintilla: 1998-2001 by Neil Hodgson // The License.txt file describes the conditions under which this software may be distributed. @@ -424,6 +425,7 @@ static void ColouriseAU3Doc(unsigned int startPos, { sc.ForwardSetState(SCE_AU3_DEFAULT); si=0; + break; } if (sc.atLineEnd) { @@ -433,6 +435,7 @@ static void ColouriseAU3Doc(unsigned int startPos, if (!IsContinuationLine(lineCurrent,styler)) { sc.SetState(SCE_AU3_DEFAULT); + break; } } // find Sendkeys in a STRING -- cgit v1.2.3