summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-22 18:43:31 +0200
committerhjk <hjk121@nokiamail.com>2014-09-25 18:00:51 +0200
commit0fcca946adbc17ee6f911a5891e9c5dc11631288 (patch)
tree1c2fe74498b7eb123f908d408b8ff3bfc4fea12e /src/plugins/pythoneditor/pythoneditor.cpp
parent33670d22f7a133d1b2a495a123ff36fc31daebe1 (diff)
downloadqt-creator-0fcca946adbc17ee6f911a5891e9c5dc11631288.tar.gz
Rename {Core,TextEditor},{Base,}TextDocument classes
First step of some more 'Base' removal in TextEditor. s/Core::TextDocument/Core::BaseTextDocument/ s/TextEditor::BaseTextDocument/TextEditor::TextDocument/ Change-Id: I71ba325a2f0ad72ec9dae0d96846cbae72d326f7 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditor.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp
index d7423df5f1..e3580863b5 100644
--- a/src/plugins/pythoneditor/pythoneditor.cpp
+++ b/src/plugins/pythoneditor/pythoneditor.cpp
@@ -74,7 +74,7 @@ PythonEditorFactory::PythonEditorFactory()
| TextEditorActionHandler::UnCommentSelection
| TextEditorActionHandler::UnCollapseAll);
- setDocumentCreator([]() { return new BaseTextDocument(Constants::C_PYTHONEDITOR_ID); });
+ setDocumentCreator([]() { return new TextDocument(Constants::C_PYTHONEDITOR_ID); });
setEditorWidgetCreator([]() { return new PythonEditorWidget; });
setIndenterCreator([]() { return new PythonIndenter; });
setSyntaxHighlighterCreator([]() { return new PythonHighlighter; });