ui: improvements proposed by Julian Mautner

* automatically expand active class
* increase arrow size
* return child nodes in autocompletions
* always return filters in autocompletions
This commit is contained in:
Eberhard Graether
2015-01-12 23:47:57 +01:00
parent 8242454104
commit 7596c699d6
13 changed files with 103 additions and 55 deletions
+9 -3
View File
@@ -189,8 +189,13 @@ public:
std::vector<SearchMatch> matches = index.runFuzzySearchAndGetMatches("t");
TS_ASSERT_EQUALS(1, matches.size());
TS_ASSERT_EQUALS(6, matches.size());
TS_ASSERT_EQUALS("util", matches[0].fullName);
TS_ASSERT_EQUALS("util::math", matches[1].fullName);
TS_ASSERT_EQUALS("util::math::ceil", matches[2].fullName);
TS_ASSERT_EQUALS("util::math::floor", matches[3].fullName);
TS_ASSERT_EQUALS("util::string", matches[4].fullName);
TS_ASSERT_EQUALS("util::string::concat", matches[5].fullName);
matches = index.runFuzzySearchAndGetMatches("uml");
@@ -208,9 +213,10 @@ public:
std::vector<SearchMatch> matches = index.runFuzzySearchAndGetMatches("u:i");
TS_ASSERT_EQUALS(2, matches.size());
TS_ASSERT_EQUALS(3, matches.size());
TS_ASSERT_EQUALS("util::string", matches[0].fullName);
TS_ASSERT_EQUALS("util::math::ceil", matches[1].fullName);
TS_ASSERT_EQUALS("util::string::concat", matches[1].fullName);
TS_ASSERT_EQUALS("util::math::ceil", matches[2].fullName);
matches = index.runFuzzySearchAndGetMatches("u:t:i");