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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user