aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-03-23 21:27:45 +0000
committernyamatongwe <devnull@localhost>2007-03-23 21:27:45 +0000
commited4cfd6aa01aa0711f25d9ed9689b3d883f53ff7 (patch)
tree1b9511fcba81300ca685c7753584fc71158171bd
parent3fb9606b4e8e7f8e02bc76f838a7e61c5ea9b8b6 (diff)
downloadscintilla-mirror-ed4cfd6aa01aa0711f25d9ed9689b3d883f53ff7.tar.gz
Patch from Jos van der Zande to fix bug with + following a
string getting the wrong color.
-rw-r--r--src/LexAU3.cxx3
1 files changed, 3 insertions, 0 deletions
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 <neilh@scintilla.org>
// 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