Using findAll as action in a macro would work as findNext

It now correctly selects all instances of the search string.
This commit is contained in:
Allan Odgaard
2018-08-21 09:42:12 +02:00
parent 62d2560143
commit a7729b4e84

View File

@@ -261,6 +261,8 @@ namespace ng
{
if(action == "findPrevious")
options |= find::backwards;
else if(action == "findAll")
options |= find::all_matches;
find(searchFor, options, searchOnlySelection);
}
}