From 97d2d01b4692bcb633b8f235b975905a3b861824 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 12 Dec 2005 00:27:04 +0000 Subject: Changed final code in lexer to perform sc.Complete() and avoid asserting. --- src/LexGui4Cli.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3