Keep completion behavior similar to before

* Use tab to jump to the next completion item
* Space to accept change
This commit is contained in:
Carl Schwan
2021-06-17 00:09:16 +02:00
parent 6898670499
commit 768fd74361
3 changed files with 30 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ public:
/// This function will look at the current QTextCursor and determine if there
/// is the possibility to autocomplete it.
Q_INVOKABLE QVariantMap getAutocompletionInfo();
Q_INVOKABLE QVariantMap getAutocompletionInfo(bool isAutocompleting);
Q_INVOKABLE void replaceAutoComplete(const QString &word);
Q_SIGNALS: