ui: fixed autocompletion issues

* click in autocompletions list causes search
* right arrow for autocompletion
* changed query operator has from '>' to '.' and operator sub from '.' to '+'
* fixed autocompletions to fit to query
and
* fixed spectral layouting endless looping on unconnected node
This commit is contained in:
Eberhard Graether
2015-02-06 00:51:02 +01:00
parent 1f6d503b9c
commit af1462f955
16 changed files with 206 additions and 126 deletions
+7
View File
@@ -212,6 +212,13 @@ public:
TS_ASSERT(!utility::isPrefix(bar, foo));
}
void test_to_lower_case()
{
TS_ASSERT_EQUALS("foobar", utility::toLowerCase("FooBar"));
TS_ASSERT_EQUALS("foobar", utility::toLowerCase("FOOBAR"));
TS_ASSERT_EQUALS("foobar", utility::toLowerCase("foobar"));
}
void test_equals_case_insensitive_with_different_cases()
{
const std::string foo = "FooBar";