logic: rewrote UndoRedoController to differentiate 3 types of priority
ORDER_ACTIVATE for messages that change active symbols ORDER_ADAPT for graph and code view expanding and collapsing ORDER_VIEW for scrolling and local symbol activation
This commit is contained in:
@@ -538,7 +538,10 @@ std::vector<Id> Storage::getTokenIdsForMatches(const std::vector<SearchMatch>& m
|
||||
std::vector<Id> ids;
|
||||
for (std::set<Id>::const_iterator it = idSet.begin(); it != idSet.end(); it++)
|
||||
{
|
||||
ids.push_back(*it);
|
||||
if (*it != 0)
|
||||
{
|
||||
ids.push_back(*it);
|
||||
}
|
||||
}
|
||||
|
||||
return ids;
|
||||
|
||||
Reference in New Issue
Block a user