Hello,

my diff/merge software now uses syntax colouring capabilities... and i'm testing with all the languages supported. I found a bug which seems to be still in code base. The end of the Gui4Cli lexer is wrong, generating a Platform::Assert
here is a patch.


--- C:\dev\sdk\wxWidgets-2.6.2\contrib\src\stc\scintilla\src\LexGui4Cli.cxx.orig 2005-11-30 22:27:58.000 +0100 +++ C:\dev\sdk\wxWidgets-2.6.2\contrib\src\stc\scintilla\src\LexGui4Cli.cxx 2005-11-30 22:26:25.000 +0100
@@ -236,7 +236,7 @@
  if (!noforward) sc.Forward();

 }
- styler.ColourTo(sc.currentPos, sc.state);
+ sc.Complete();
}

// Main folding function called by Scintilla - (based on props (.ini) files function)


Regards
Armel
NB: I imagine that this lexer is not really used any more to have this bug but it does not cost much to have it not crash the component :)

-- ECMerge - Diff/Merge software --
http://www.elliecomputing.com


_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to