ui: augmented autocompletion list

This change adds search match information to the autocompletion list:
- matching letters
- color for token or command
- node type as string
This commit is contained in:
Eberhard Graether
2014-11-02 17:21:51 +01:00
parent 250918a4e7
commit e972dbe098
14 changed files with 330 additions and 35 deletions
+1
View File
@@ -16,6 +16,7 @@ struct SearchMatch
std::string encodeForQuery() const;
std::string fullName;
std::string typeName;
std::set<Id> tokenIds;
std::vector<size_t> indices;
size_t weight;