From b4cecd6ec8a39c10913887fd9a99293a260e6482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Fri, 9 Jul 2010 15:12:44 +0200 Subject: Allow certain characters to also trigger the completion Now you can type characters like ., ( and : to complete the selected item, depending on the type of the completion item. Task-number: QTCREATORBUG-271 Reviewed-by: Roberto Raggi --- src/plugins/texteditor/quickfix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/texteditor/quickfix.cpp') diff --git a/src/plugins/texteditor/quickfix.cpp b/src/plugins/texteditor/quickfix.cpp index 9918ad4f5b..8e5e024750 100644 --- a/src/plugins/texteditor/quickfix.cpp +++ b/src/plugins/texteditor/quickfix.cpp @@ -171,7 +171,7 @@ void QuickFixCollector::completions(QList *quickFixI } } -void QuickFixCollector::complete(const TextEditor::CompletionItem &item) +void QuickFixCollector::fix(const TextEditor::CompletionItem &item) { const int index = item.data.toInt(); -- cgit v1.2.1