texteditor: directly call completion instead using ITextEditor interface

Reviewed-By: con
This commit is contained in:
hjk
2011-02-22 16:41:23 +01:00
parent e81e732452
commit 3e7d9bdeff
4 changed files with 3 additions and 21 deletions

View File

@@ -538,16 +538,6 @@ void BaseTextEditorWidget::selectEncoding()
}
}
void BaseTextEditorWidget::triggerCompletions()
{
CompletionSupport::instance()->complete(editor(), SemanticCompletion, true);
}
void BaseTextEditorWidget::triggerQuickFix()
{
CompletionSupport::instance()->complete(editor(), QuickFixCompletion, true);
}
QString BaseTextEditorWidget::msgTextTooLarge(quint64 size)
{
return tr("The text is too large to be displayed (%1 MB).").