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:
@@ -305,7 +305,7 @@ void CppAssistProposalItem::applyContextualContent(TextEditor::BaseTextEditor *e
|
||||
|
||||
// Determine the length of characters that should just be kept on the editor, but do
|
||||
// not consider content that ends as an identifier (which could be undesired).
|
||||
const int lineEnd = editor->position(TextEditor::ITextEditor::EndOfLine);
|
||||
const int lineEnd = editor->position(TextEditor::BaseTextEditor::EndOfLine);
|
||||
const QString inEditor = editor->textDocument()->textAt(editor->position(),
|
||||
lineEnd - editor->position());
|
||||
int preserveLength = 0;
|
||||
|
||||
Reference in New Issue
Block a user