This is probably my "indicator" problem in slightly different guise...

I have a case now that still uses indicators, but does not require "overwriting" indicator styles with other (actually the same) indicator styles.

I can display some OCaml source (about two window's worth) in a Scintilla window, compile it and get the cross-hatched indicator under most of the source, and then do a Ctrl-Z to make all compiler output and decorations go away.

If I do exactly this, WITHOUT first scrolling down to see all of the text at least once BEFORE setting and then removing the indicator style, THEN most of the previously unviewed text gets rendered in the light gray default style - no weights or colors. Interestingly, this test case (which is 100% repeatable), has the LAST line rendered properly (bold + dark blue).

A possibly VERY interesting piece of information is that this does NOT seem to have anything to do with Pango! My normal styling init in this app uses "!Bitstream Vera Sans" and sets the SC_CP_UTF8 code page. If I switch to "Sans" and do NOT set UTF8, the exact same thing still happens - modulo the different line heights, of course... but it is the same thing - the text that had never been displayed, when scrolled up AFTER setting and removing the indicator, has the same "un-styled" look.

To preserve the sanity of our moderator, I will not attach any pictures to this post... :) If anyone wants to see them, let me know!

N.B. - for those that are following my other Scintilla mods, this still happens even if I completely disable my "lazy" screen update changes. :)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com

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

Reply via email to