aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-12-12 00:27:04 +0000
committernyamatongwe <devnull@localhost>2005-12-12 00:27:04 +0000
commit386e6f4d335875e40bb75c89b179262f8f337793 (patch)
tree1d6c5f81816069747df4a080c730471ec0c7891b /src
parentd7d0d8b154573002e9b58003bc0c3de2bf817044 (diff)
downloadscintilla-mirror-386e6f4d335875e40bb75c89b179262f8f337793.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)