"Neil Hodgson" <[EMAIL PROTECTED]> wrote:
> Josiah Carlson:
> 
> > Scintilla has its lexer set, but I would like to
> > manually style certain portions of the document.  More specifically, I
> > am using scintilla as the input/output of an interactive shell, and I
> > would like to "style" the output of the shell using a particular
> > foreground color.  I have created a style via the STYLESET* equivalent
> > methods in wxPython, but I get incorrect results...
> 
>    This is not well supported by Scintilla.

Should I take that to mean "sorry Josiah, in order to do what you want
to do, you will need to manually style the entire document"?

> > When I use AddStyledText(), the styling of the added styled text is lost.
> 
>    If you have a lexer set then the styling will be overwritten by the
> lexer which has no way of knowing that the styling was set explicitly.

That makes sense.

Thank you,
 - Josiah

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

Reply via email to