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:
hjk
2014-07-23 19:10:38 +02:00
parent 15421995ab
commit bf5e43be94
70 changed files with 557 additions and 556 deletions

View File

@@ -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);
}