diff options
author | hjk <hjk121@nokiamail.com> | 2014-09-01 16:16:44 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-09-02 10:06:54 +0200 |
commit | 6775e623eedf510b65e7541d8696c46d30ee8d23 (patch) | |
tree | eb6f42505601e6946dc99ab3cd14f0cf46e2a215 /src/plugins/qmakeprojectmanager/profileeditor.cpp | |
parent | b9f861f1cb4d595348f02c249b51d4fbf9e3a460 (diff) | |
download | qt-creator-6775e623eedf510b65e7541d8696c46d30ee8d23.tar.gz |
TextEditor: Move comment definitions back to *Widget
Only used there, and avoids back-links to editors.
Change-Id: I81206057ce89d42aef7febb840cf9e44b869df0e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/qmakeprojectmanager/profileeditor.cpp')
-rw-r--r-- | src/plugins/qmakeprojectmanager/profileeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmakeprojectmanager/profileeditor.cpp b/src/plugins/qmakeprojectmanager/profileeditor.cpp index 4b63db0bee..fd7f6a697f 100644 --- a/src/plugins/qmakeprojectmanager/profileeditor.cpp +++ b/src/plugins/qmakeprojectmanager/profileeditor.cpp @@ -62,7 +62,6 @@ public: { addContext(Constants::C_PROFILEEDITOR); setDuplicateSupported(true); - setCommentStyle(Utils::CommentDefinition::HashStyle); setCompletionAssistProvider(ExtensionSystem::PluginManager::getObject<ProFileCompletionAssistProvider>()); } }; @@ -229,6 +228,7 @@ ProFileEditorFactory::ProFileEditorFactory() setEditorWidgetCreator([]() { return new ProFileEditorWidget; }); setEditorCreator([]() { return new ProFileEditor; }); + setCommentStyle(Utils::CommentDefinition::HashStyle); setEditorActionHandlers(Constants::C_PROFILEEDITOR, TextEditorActionHandler::UnCommentSelection | TextEditorActionHandler::JumpToFileUnderCursor); |