forked from qt-creator/qt-creator
TextEditor: Rename BaseTextEditorWidget to TextEditorWidget
... and some of the related implementation details Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -173,7 +173,7 @@ void EmacsKeysPlugin::currentEditorChanged(Core::IEditor *editor)
|
||||
}
|
||||
m_currentState = m_stateMap[m_currentEditorWidget];
|
||||
m_currentBaseTextEditorWidget =
|
||||
qobject_cast<TextEditor::BaseTextEditorWidget*>(editor->widget());
|
||||
qobject_cast<TextEditor::TextEditorWidget*>(editor->widget());
|
||||
}
|
||||
|
||||
void EmacsKeysPlugin::gotoFileStart() { genericGoto(QTextCursor::Start); }
|
||||
|
||||
@@ -43,7 +43,7 @@ class Id;
|
||||
class IEditor;
|
||||
}
|
||||
namespace TextEditor {
|
||||
class BaseTextEditorWidget;
|
||||
class TextEditorWidget;
|
||||
}
|
||||
|
||||
namespace EmacsKeys {
|
||||
@@ -102,7 +102,7 @@ private:
|
||||
QHash<QPlainTextEdit*, EmacsKeysState*> m_stateMap;
|
||||
QPlainTextEdit *m_currentEditorWidget;
|
||||
EmacsKeysState *m_currentState;
|
||||
TextEditor::BaseTextEditorWidget *m_currentBaseTextEditorWidget;
|
||||
TextEditor::TextEditorWidget *m_currentBaseTextEditorWidget;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user