forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -78,7 +78,8 @@ public:
|
||||
int startCompletion(TextEditor::ITextEditable *editor);
|
||||
void completions(QList<TextEditor::CompletionItem> *completions);
|
||||
|
||||
void complete(const TextEditor::CompletionItem &item);
|
||||
bool typedCharCompletes(const TextEditor::CompletionItem &item, QChar typedChar);
|
||||
void complete(const TextEditor::CompletionItem &item, QChar typedChar);
|
||||
bool partiallyComplete(const QList<TextEditor::CompletionItem> &completionItems);
|
||||
void cleanup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user