aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/syntaxhighlighter.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-26 09:14:03 +0200
committerhjk <hjk121@nokiamail.com>2014-09-26 10:12:51 +0200
commit953cdb971fd110da2c4a30a53350c5628f8deb71 (patch)
tree73889be3ac6a1e8f2a61da0d6b01ef9686b69033 /src/plugins/texteditor/syntaxhighlighter.cpp
parent4edc6896ad311b0043ada37d82d7c52b38ad85f2 (diff)
TextEditor: More BaseText* -> Text* renamings
*Document* and *Layout* classes, all basetext* files Change-Id: I1c6e376733a434fcb5c7f19c6210dfa031eeafde Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/texteditor/syntaxhighlighter.cpp')
-rw-r--r--src/plugins/texteditor/syntaxhighlighter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/texteditor/syntaxhighlighter.cpp b/src/plugins/texteditor/syntaxhighlighter.cpp
index 807ff8ba28..79bab51a29 100644
--- a/src/plugins/texteditor/syntaxhighlighter.cpp
+++ b/src/plugins/texteditor/syntaxhighlighter.cpp
@@ -28,8 +28,8 @@
****************************************************************************/
#include "syntaxhighlighter.h"
-#include "basetextdocument.h"
-#include "basetextdocumentlayout.h"
+#include "textdocument.h"
+#include "textdocumentlayout.h"
#include "texteditorsettings.h"
#include "fontsettings.h"
@@ -79,7 +79,7 @@ public:
QTextBlock currentBlock;
bool rehighlightPending;
bool inReformatBlocks;
- BaseTextDocumentLayout::FoldValidator foldValidator;
+ TextDocumentLayout::FoldValidator foldValidator;
QVector<QTextCharFormat> formats;
QVector<TextEditor::TextStyle> formatCategories;
};
@@ -327,7 +327,7 @@ void SyntaxHighlighter::setDocument(QTextDocument *doc)
this, SLOT(_q_reformatBlocks(int,int,int)));
d->rehighlightPending = true;
QTimer::singleShot(0, this, SLOT(_q_delayedRehighlight()));
- d->foldValidator.setup(qobject_cast<BaseTextDocumentLayout *>(doc->documentLayout()));
+ d->foldValidator.setup(qobject_cast<TextDocumentLayout *>(doc->documentLayout()));
}
}