[QScintilla] StartStyling, SetStyling...

Phil Thompson phil at riverbankcomputing.com
Wed Oct 15 21:27:09 BST 2008


On Wed, 15 Oct 2008 21:02:34 +0300, "Ville M. Vainio" <vivainio at gmail.com>
wrote:
> On Wed, Oct 15, 2008 at 8:58 PM, Phil Thompson
> <phil at riverbankcomputing.com> wrote:
> 
>> If you want to style Python then just create a QsciLexerPython instance
>> and
>> set it as the current lexer.
> 
> I actually want to style ansi color codes (as in terminal color escapes).

You can access the low level Scintilla API (eg. SCI_STARTSTYLING,
SCI_SETSTYLING) using the SendScintilla() method.

Phil


More information about the QScintilla mailing list