[PyQt] QSyntaxHighlighter question

Phil Thompson phil at riverbankcomputing.co.uk
Thu May 17 21:55:39 BST 2007


On Sunday 13 May 2007 2:57 pm, kib2 wrote:
> Hi,
>
> I just looked at the C++ documentation about QSyntaxHighlighter's setFormat
> method.
>
> But in fact, they are three :
>
>
>     * void *setFormat*
>       <http://doc.trolltech.com/3.3/qsyntaxhighlighter.html#setFormat> (
>       int start, int count, const QFont & font, const QColor & color )
>
>     * void *setFormat*
>       <http://doc.trolltech.com/3.3/qsyntaxhighlighter.html#setFormat-2>
>       ( int start, int count, const QColor & color )
>
>     *
>
>       void *setFormat*
> <http://doc.trolltech.com/3.3/qsyntaxhighlighter.html#setFormat-3> ( int
> start, int count, const QFont & font )
>
> In Python, I only saw the last two of them, where's the other ?

All three are implemented.

Phil


More information about the PyQt mailing list