summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsyntaxhighlighter.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/man/man3/tqsyntaxhighlighter.3qt
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt-a30f5359.tar.gz
tqt-a30f5359.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqsyntaxhighlighter.3qt')
-rw-r--r--doc/man/man3/tqsyntaxhighlighter.3qt8
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