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:
@@ -509,7 +509,7 @@ void ClangAssistProposalItem::applyContextualContent(TextEditor::BaseTextEditor
|
||||
}
|
||||
|
||||
// Avoid inserting characters that are already there
|
||||
const int endsPosition = editor->position(TextEditor::ITextEditor::EndOfLine);
|
||||
const int endsPosition = editor->position(TextEditor::BaseTextEditor::EndOfLine);
|
||||
const QString existingText = editor->textDocument()->textAt(editor->position(),
|
||||
endsPosition - editor->position());
|
||||
int existLength = 0;
|
||||
|
Reference in New Issue
Block a user