forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -91,6 +91,7 @@ public:
|
||||
setEditorWidgetCreator([]() { return new CppEditorWidget; });
|
||||
setEditorCreator([]() { return new CppEditor; });
|
||||
setAutoCompleterCreator([]() { return new CppAutoCompleter; });
|
||||
setCommentStyle(Utils::CommentDefinition::CppStyle);
|
||||
|
||||
setEditorActionHandlers(Constants::C_CPPEDITOR,
|
||||
TextEditorActionHandler::Format
|
||||
|
||||
Reference in New Issue
Block a user