aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-12-12 00:27:04 +0000
committernyamatongwe <unknown>2005-12-12 00:27:04 +0000
commit97d2d01b4692bcb633b8f235b975905a3b861824 (patch)
tree1d6c5f81816069747df4a080c730471ec0c7891b /src
parent4fb94f009d7387a4794eb9a025459c15ef3ec884 (diff)
downloadscintilla-mirror-97d2d01b4692bcb633b8f235b975905a3b861824.tar.gz
Changed final code in lexer to perform sc.Complete() and avoid asserting.
Diffstat (limited to 'src')
-rw-r--r--src/LexGui4Cli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexGui4Cli.cxx b/src/LexGui4Cli.cxx
index 2e3c02c1c..f76fff6cc 100644
--- a/src/LexGui4Cli.cxx
+++ b/src/LexGui4Cli.cxx
@@ -236,7 +236,7 @@ ColouriseGui4CliDoc(unsigned int startPos, int length, int initStyle,
if (!noforward) sc.Forward();
}
- styler.ColourTo(sc.currentPos, sc.state);
+ sc.Complete();
}
// Main folding function called by Scintilla - (based on props (.ini) files function)