John Ehresman wrote:
Robert Roessler wrote:
John Ehresman wrote:
... I'm also interested in stacked styling -- one use case is
allowing the view to style individual characters (to show search
matches, for example).
Beyond what you can already do with indicators, I assume? ;)
I think indicators are stored in the document object so are visible on
all views attached to a document object, unless I'm missing something.
I think I could probably work around this, but as long as we're talking
about changing how styling info is stored...
No question the room for more styling info could be of immense help to
some apps / uses of Scintilla... but indicators are what inhabit the
"leftover" high bits of the [current] styling bytes.
The way they are implemented is just for the type of application you
mention - so that search hits or things like compile errors may have
some "styling" used to highlight them at the character level *without*
interfering with normal styling.
The fact that there are typically only 3 bits available does reduce
the possibilities somewhat, of course... ;) In the case of the HTML
lexer, there is only 1 bit left after the styling bits are allocated.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest