Neil Hodgson wrote:
Robert Roessler:
Anyway, I am finding that setting an INDICATOR (0x80 or 0x40) on the second char of a line always displays it starting on the first char (the third position on works fine)... if I use the exact code (with 0x1F instead of 0xE0 as the mask) to display a STYLE (2) in the same position, it displays correctly!
This is a Scintilla drawing bug. The code that extracts indicator ranges from styling is a bit complex. In SciTE, the following settings and scripts can help reproduce the problem: ... The OCaml lexer fails with an assertion in debug builds as it tries to style one beyond the end of the buffer with
styler.ColourTo(i, state);
Cool... I think. If I have this right, it is a "Scintilla drawing bug" - that leads LexCaml into evil ways? Well, even if that is the correct interpretation, lexers shouldn't fail with even remotely reasonable input - or at all, if you want to be that way about it. :)
So I can start on it from that end... but if this is well enough understood to have reproducible test cases at hand (and still isn't fixed), then - it must be *really* difficult to work on Editor:Paint and friends. :(
Robert Roessler [EMAIL PROTECTED] http://www.rftp.com _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
