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 -1
View File
@@ -49,7 +49,7 @@ public:
// Logging.
std::string getTypeString(EdgeType type) const;
std::string getTypeString() const;
virtual std::string getTypeString() const;
std::string getAsString() const;
private:
+1 -1
View File
@@ -79,7 +79,7 @@ public:
// Logging.
std::string getTypeString(NodeType type) const;
std::string getTypeString() const;
virtual std::string getTypeString() const;
std::string getAsString() const;
private:
+3
View File
@@ -31,6 +31,9 @@ public:
template <typename ComponentType>
std::shared_ptr<ComponentType> removeComponent();
// Logging.
virtual std::string getTypeString() const = 0;
protected:
Token(const Token& other);