forked from qt-creator/qt-creator
PlainTextEditor TextActionHandler: Only handle own editors
Change-Id: I018682bfb6bfc9fec77f8e4996cff5b6fd15c526 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
9ce8e85109
commit
76484de7f3
@@ -52,7 +52,7 @@ PlainTextEditorFactory::PlainTextEditorFactory(QObject *parent)
|
||||
addMimeType(QLatin1String(TextEditor::Constants::C_TEXTEDITOR_MIMETYPE_TEXT));
|
||||
|
||||
new TextEditorActionHandler(this,
|
||||
TextEditor::Constants::C_TEXTEDITOR,
|
||||
Core::Constants::K_DEFAULT_TEXT_EDITOR_ID,
|
||||
TextEditorActionHandler::Format |
|
||||
TextEditorActionHandler::UnCommentSelection |
|
||||
TextEditorActionHandler::UnCollapseAll);
|
||||
|
||||
Reference in New Issue
Block a user