ui: Fixes for release

* updated keyboard shortcuts
* graph zooming also with Ctrl + Mouse Wheel
* display include and macro edges behind nodes
* allow more file search results
This commit is contained in:
Eberhard Graether
2017-05-05 12:40:51 +02:00
parent 9c6114336c
commit 8f44ad4a47
5 changed files with 33 additions and 82 deletions
+2 -9
View File
@@ -735,7 +735,7 @@ std::vector<SearchMatch> PersistentStorage::getAutocompletionMatches(const std::
// create SearchMatches
std::vector<SearchMatch> matches;
utility::append(matches, getAutocompletionSymbolMatches(query, maxResultsCount));
utility::append(matches, getAutocompletionFileMatches(query, 20));
utility::append(matches, getAutocompletionFileMatches(query, maxResultsCount));
utility::append(matches, getAutocompletionCommandMatches(query));
std::set<SearchMatch> matchesSet;
@@ -754,14 +754,7 @@ std::vector<SearchMatch> PersistentStorage::getAutocompletionMatches(const std::
matchesSet.insert(match);
}
matches = utility::toVector(matchesSet);
if (matches.size() > maxResultsCount)
{
matches.resize(maxResultsCount);
}
return matches;
return utility::toVector(matchesSet);
}
std::vector<SearchMatch> PersistentStorage::getAutocompletionSymbolMatches(