There is an update for the decoration code available from CVS and from
http://scintilla.sourceforge.net/scite.zip Source

  Changing indicators now flow through Document to all views and
Accessor gains an IndicatorFill method so that lexers can set
indicators. While I have been editing LexPython to suite, it hasn't
been checked in since it is still uncertain how to do this best. One
problem is that the previous implementation minimized the number of
SC_MOD_CHANGESTYLE notifications by buffering these into 4000 byte
blocks but the indicator calls occur for each change and report the
whole range asked for rather than the range actually changed. There is
one optimization where the whole range asked for is already in the
requested style but that should be optimized further. There may be a
new SC_MOD_CHANGEINDICATOR to allow each view to redisplay and the
container to see these if wanted. Since changing indicators does not
change layout, SC_MOD_CHANGEINDICATOR may be a lighter weight event.

  All the build files should now include Decoration and RunStyles.

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

Reply via email to