summaryrefslogtreecommitdiffstats
path: root/doc/src/examples
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-05-10 17:50:33 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-05-11 15:36:22 (GMT)
commit520e8e3cfe19fb9a49b2cf80dd2376aa2b80f1e5 (patch)
treeadefe2e3c1d4224de6a7a53c64bcfeeaa1fc99eb /doc/src/examples
parenta016b739224f8a322d46693af425ef10ee8ad018 (diff)
downloadQt-520e8e3cfe19fb9a49b2cf80dd2376aa2b80f1e5.zip
Qt-520e8e3cfe19fb9a49b2cf80dd2376aa2b80f1e5.tar.gz
Qt-520e8e3cfe19fb9a49b2cf80dd2376aa2b80f1e5.tar.bz2
Doc: Various fixes to documentation, some based on changes in master.
Diffstat (limited to 'doc/src/examples')
-rw-r--r--doc/src/examples/codeeditor.qdoc4
-rw-r--r--doc/src/examples/syntaxhighlighter.qdoc10
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/examples/codeeditor.qdoc b/doc/src/examples/codeeditor.qdoc
index 23a2fd4..c4c72c0 100644
--- a/doc/src/examples/codeeditor.qdoc
+++ b/doc/src/examples/codeeditor.qdoc
@@ -190,6 +190,8 @@
used to implement parenthesis matching. In the \c
highlightCurrentLine(), the data of the currentBlock() can be
fetched with QTextBlock::userData(). Matching parentheses can be
- highlighted with an extra selection.
+ highlighted with an extra selection. The "Matching Parentheses
+ with QSyntaxHighlighter" article in Qt Quarterly 31 implements
+ this. You find it here: \l{http://doc.qt.nokia.com/qq/}.
*/
diff --git a/doc/src/examples/syntaxhighlighter.qdoc b/doc/src/examples/syntaxhighlighter.qdoc
index 4018be8..2511900 100644
--- a/doc/src/examples/syntaxhighlighter.qdoc
+++ b/doc/src/examples/syntaxhighlighter.qdoc
@@ -239,4 +239,14 @@
function. The QSyntaxHighlighter class also provides the \l
{QSyntaxHighlighter::document()}{document()} function which
returns the currently set document.
+
+ \section1 Other Code Editor Features
+
+ It is possible to implement parenthesis matching with
+ QSyntaxHighlighter. The "Matching Parentheses with
+ QSyntaxHighlighter" article in Qt Quarterly 31
+ (\l{http://doc.qt.nokia.com/qq/}) implements this. We also have
+ the \l{Code Editor Example}, which shows how to implement line
+ numbers and how to highlight the current line.
+
*/