I have committed an updated Python lexer that uses the new indicator API. The documentation is updated to deprecate style byte indicators in favour of 'modern' indicators. Each indicator may be set to draw under the text or over (default) with SCI_INDICSETUNDER.
If this implementation of indicators is not strong enough for some uses then this should be discussed now while there is little code that will be broken if indicators are changed. Particularly useful would be seeing if it helps implement a feature like snippets where there may be multiple placeholders of various types in the text. The Scriptol lexer also sets indicators so this should be changed by someone that uses Scriptol. If you know of any other lexers that set indicators then reply so they can be fixed or dropped. LexPython.cxx can be used as an example to change lexers that are not distributed with Scintilla. While style byte indicators will work in the next release, they will stop working in the future so that all 8 bits in a style byte can be used for lexical states. Available from CVS and from http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
