diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-12-01 13:29:12 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-12-07 12:49:26 +0000 |
commit | 508a9bdb2460c19f0be2fb99628304f01aa12557 (patch) | |
tree | 163aa16e692f9197c4aad39a56fd5b2bd5a98efb /src/plugins/texteditor/texteditor.h | |
parent | a6dfae7f100c349345282134c8dcd47bfc0f8452 (diff) |
Move line/column label functionality into single place
Create a LineColumnLabel class that aggregates the functionality that
was before spread through the editor widget and factory classes.
Change-Id: I6ba316174b2f690a0b146bdd606c6f8ed985ec20
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditor.h')
-rw-r--r-- | src/plugins/texteditor/texteditor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h index cd8fcec05a2..2eafc322931 100644 --- a/src/plugins/texteditor/texteditor.h +++ b/src/plugins/texteditor/texteditor.h @@ -29,6 +29,7 @@ #include "blockrange.h" #include "codeassist/assistenums.h" +#include <coreplugin/editormanager/editormanager.h> #include <coreplugin/editormanager/ieditor.h> #include <coreplugin/editormanager/ieditorfactory.h> @@ -566,7 +567,7 @@ signals: void tooltipOverrideRequested(TextEditor::TextEditorWidget *widget, const QPoint &globalPos, int position, bool *handled); void tooltipRequested(const QPoint &globalPos, int position); - void activateEditor(); + void activateEditor(Core::EditorManager::OpenEditorFlags flags = 0); protected: virtual void slotCursorPositionChanged(); // Used in VcsBase |