logic: Fixed multiple active symbols broken on undo

* fixed undoing to multiple actives didn't show all nodes in graph
* fixed wrong name in search bar, status message and history dropdown
* fixed flicker when activating multiple nodes in code view
This commit is contained in:
Eberhard Graether
2018-10-19 20:47:08 +02:00
parent bcbbb54b70
commit adc1900d18
13 changed files with 49 additions and 67 deletions
@@ -35,7 +35,10 @@ public:
for (const SearchMatch& match : searchMatches)
{
os << match.tokenName.getQualifiedName() << L" ";
for (const NameHierarchy& name : match.tokenNames)
{
os << name.getQualifiedName() << L" ";
}
}
}
@@ -53,16 +56,6 @@ public:
return searchMatches;
}
std::vector<NameHierarchy> getTokenNamesOfMatches() const
{
std::vector<NameHierarchy> tokenNames;
for (const SearchMatch& match : searchMatches)
{
tokenNames.push_back(match.tokenName);
}
return tokenNames;
}
std::vector<Id> tokenIds;
std::vector<SearchMatch> searchMatches;
@@ -31,6 +31,10 @@ public:
for (const SearchMatch& match : m_matches)
{
os << " @" << match.name;
for (Id id : match.tokenIds)
{
os << ' ' << id;
}
}
}