forked from qt-creator/qt-creator
TextEditor: Merge ITextEditor and BaseTextEditor
Adjust all callers, de-export BaseTextEditorAnimator Change-Id: I2329d976c1398e2449844bb480a4d4ed29859506 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include "macroevent.h"
|
||||
#include "macro.h"
|
||||
|
||||
#include <texteditor/itexteditor.h>
|
||||
#include <texteditor/basetexteditor.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -135,7 +135,7 @@ void TextEditorMacroHandler::changeEditor(Core::IEditor *editor)
|
||||
if (isRecording() && m_currentEditor && m_currentEditor->widget())
|
||||
m_currentEditor->widget()->removeEventFilter(this);
|
||||
|
||||
m_currentEditor = qobject_cast<TextEditor::ITextEditor *>(editor);
|
||||
m_currentEditor = qobject_cast<TextEditor::BaseTextEditor *>(editor);
|
||||
if (isRecording() && m_currentEditor && m_currentEditor->widget())
|
||||
m_currentEditor->widget()->installEventFilter(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user