diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-12-09 16:54:31 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-12-10 09:11:45 +0100 |
commit | 18313bdb3306e1f26965bd6f488eb48b57511674 (patch) | |
tree | c07d19f12cd784ba1b7b1a80d153d632512a8ac0 /src/plugins/texteditor/itexteditor.h | |
parent | 890f72160c61507b4bf85bdf4502d63a32f762d0 (diff) | |
download | qt-creator-18313bdb3306e1f26965bd6f488eb48b57511674.tar.gz |
Move markableInterface() to ITextEditorDocument
And remove the indirection over BaseTextEditorWidget.
Change-Id: I2c570edf46b9ca72a11704ce27d8ae3f2218dcf0
Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/itexteditor.h')
-rw-r--r-- | src/plugins/texteditor/itexteditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/itexteditor.h b/src/plugins/texteditor/itexteditor.h index 3a85676d60..a3ac48bd48 100644 --- a/src/plugins/texteditor/itexteditor.h +++ b/src/plugins/texteditor/itexteditor.h @@ -84,6 +84,8 @@ public: virtual QString plainText() const = 0; virtual QString textAt(int pos, int length) const = 0; virtual QChar characterAt(int pos) const = 0; + + virtual ITextMarkable *markableInterface() const = 0; }; class TEXTEDITOR_EXPORT ITextEditor : public Core::IEditor @@ -126,8 +128,6 @@ public: /*! Selects text between current cursor position and \a toPos. */ virtual void select(int toPos) = 0; - virtual ITextMarkable *markableInterface() = 0; - virtual const Utils::CommentDefinition* commentDefinition() const = 0; static QMap<QString, QString> openedTextDocumentContents(); |