summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qsyntaxhighlighter.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2009-07-13 09:03:41 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-07-13 09:03:41 (GMT)
commite8e6e8c1722618a48cb4a2e46b24ecad4b056270 (patch)
tree5f16d826c98fc39289c99026b298d5d42f56c7b3 /src/gui/text/qsyntaxhighlighter.h
parentd705f5cd9d3bac765346af361038f2f9249183e7 (diff)
downloadQt-e8e6e8c1722618a48cb4a2e46b24ecad4b056270.zip
Qt-e8e6e8c1722618a48cb4a2e46b24ecad4b056270.tar.gz
Qt-e8e6e8c1722618a48cb4a2e46b24ecad4b056270.tar.bz2
Added QSyntaxHighlighter::rehighlightBlock(QTextBlock)
Merge-request: 379 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Diffstat (limited to 'src/gui/text/qsyntaxhighlighter.h')
-rw-r--r--src/gui/text/qsyntaxhighlighter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qsyntaxhighlighter.h b/src/gui/text/qsyntaxhighlighter.h
index 4e5271b..ee249b8 100644
--- a/src/gui/text/qsyntaxhighlighter.h
+++ b/src/gui/text/qsyntaxhighlighter.h
@@ -78,6 +78,7 @@ public:
public Q_SLOTS:
void rehighlight();
+ void rehighlightBlock(const QTextBlock &block);
protected:
virtual void highlightBlock(const QString &text) = 0;