diff options
Diffstat (limited to 'doc/man/man3/tqsyntaxhighlighter.3qt')
-rw-r--r-- | doc/man/man3/tqsyntaxhighlighter.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqsyntaxhighlighter.3qt b/doc/man/man3/tqsyntaxhighlighter.3qt index 15898d33f..058be188e 100644 --- a/doc/man/man3/tqsyntaxhighlighter.3qt +++ b/doc/man/man3/tqsyntaxhighlighter.3qt @@ -25,13 +25,13 @@ Inherits Qt. .BI "virtual int \fBhighlightParagraph\fR ( const TQString & text, int endStateOfLastPara ) = 0" .br .ti -1c -.BI "void \fBsetFormat\fR ( int start, int count, const QFont & font, const TQColor & color )" +.BI "void \fBsetFormat\fR ( int start, int count, const TQFont & font, const TQColor & color )" .br .ti -1c .BI "void \fBsetFormat\fR ( int start, int count, const TQColor & color )" .br .ti -1c -.BI "void \fBsetFormat\fR ( int start, int count, const QFont & font )" +.BI "void \fBsetFormat\fR ( int start, int count, const TQFont & font )" .br .ti -1c .BI "TQTextEdit * \fBtextEdit\fR () const" @@ -82,13 +82,13 @@ To find out which paragraph is highlighted, call currentParagraph(). For example, if you're writing a simple C++ syntax highlighter, you might designate 1 to signify "in comment". For a paragraph that ended in the middle of a comment you'd return 1, and for other paragraphs you'd return 0. In your parsing code if \fIendStateOfLastPara\fR was 1, you would highlight the text as a C++ comment until you reached the closing \fC*\fR\fC/\fR. .SH "void QSyntaxHighlighter::rehighlight ()" Redoes the highlighting of the whole document. -.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const QFont & font, const TQColor & color )" +.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font, const TQColor & color )" This function is applied to the syntax highlighter's current paragraph (the text of which is passed to the highlightParagraph() function). .PP The specified \fIfont\fR and \fIcolor\fR are applied to the text from position \fIstart\fR for \fIcount\fR characters. (If \fIcount\fR is 0, nothing is done.) .SH "void QSyntaxHighlighter::setFormat ( int start, int count, const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const QFont & font )" +.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "TQTextEdit * QSyntaxHighlighter::textEdit () const" Returns the TQTextEdit on which this syntax highlighter is |