summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/syntaxhighlighter.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/doc/src/syntaxhighlighter.qdoc')
-rw-r--r--examples/widgets/doc/src/syntaxhighlighter.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/doc/src/syntaxhighlighter.qdoc b/examples/widgets/doc/src/syntaxhighlighter.qdoc
index 618b387ed5..30dc685843 100644
--- a/examples/widgets/doc/src/syntaxhighlighter.qdoc
+++ b/examples/widgets/doc/src/syntaxhighlighter.qdoc
@@ -66,7 +66,7 @@
We have chosen to store our highlighting rules using a private
struct: A rule consists of a QRegularExpression pattern and a
QTextCharFormat instance. The various rules are then stored using a
- QVector.
+ QList.
The QTextCharFormat class provides formatting information for
characters in a QTextDocument specifying the visual properties of
@@ -137,7 +137,7 @@
blocks that have changed.
First we apply the syntax highlighting rules that we stored in the
- \c highlightingRules vector. For each rule (i.e. for each
+ \c highlightingRules list. For each rule (i.e. for each
HighlightingRule object) we search for the pattern in the given
text block using the QString::indexOf() function. When the first
occurrence of the pattern is found, we use the