I have just noticed (the last couple of days) a funny problem with the
display of OCaml files in SciTE...
OCaml (and the lexer) support nested comments. Un-nested comments are
painted using the colour.code.comment.box style, while nested comments
are painted using colour.embedded.comment.
*Sometimes* [now] when I remove an outer set of comment delimiters,
the text inside (with a mix of un-commented and commented code) is not
properly redisplayed. It may be all of the lines or just one that
does not get repainted properly and retains the look it had when the
enclosing comment delimiters were present.
An Undo/Redo sequence (or two) straightens things out.
Is this more likely to be in Scintilla/SciTE code not requesting a
proper [re]lexing range OR is it more likely to be in the OCaml lexer
itself? Or even a [too small] paint region?
If it is most likely a problem with the lexer, I will of course fix it. :)
Current Scintilla/SciTE builds from CVS on Windows XP SP2.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest