summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qsyntaxhighlighter.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qsyntaxhighlighter.3qt')
-rw-r--r--doc/man/man3/qsyntaxhighlighter.3qt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/qsyntaxhighlighter.3qt b/doc/man/man3/qsyntaxhighlighter.3qt
index 936b4f445..f004c841d 100644
--- a/doc/man/man3/qsyntaxhighlighter.3qt
+++ b/doc/man/man3/qsyntaxhighlighter.3qt
@@ -67,7 +67,7 @@ Usually this function is called from within highlightParagraph().
.SH "int QSyntaxHighlighter::highlightParagraph ( const QString & text, int endStateOfLastPara )\fC [pure virtual]\fR"
This function is called when necessary by the rich text engine, i.e. on paragraphs which have changed.
.PP
-In your reimplementation you should parse the paragraph's \fItext\fR and call setFormat() as often as necessary to apply any font and color changes that you retquire. Your function must return a value which indicates the paragraph's end state: see below.
+In your reimplementation you should parse the paragraph's \fItext\fR and call setFormat() as often as necessary to apply any font and color changes that you require. Your function must return a value which indicates the paragraph's end state: see below.
.PP
Some syntaxes can have constructs that span paragraphs. For example, a C++ syntax highlighter should be able to cope with \fC/\fR\fC*...*\fR\fC/\fR comments that span paragraphs. To deal with these cases it is necessary to know the end state of the previous paragraph (e.g. "in comment").
.PP