When implementing the plugin I found it strange that there is no "folder changed"- or "search started"-/"search ended"-indicator.
Currently there are calls like this:
Code: Select all
MatchFile("C:\a\file 1.txt")
MatchFile("C:\a\file 2.txt")
MatchFile("C:\b\file 3.txt")
Perhaps it would be good to indicate the search start/end like this:
Code: Select all
StartMatch()
MatchFile("C:\a\file 1.txt")
MatchFile("C:\a\file 2.txt")
EndMatch()
StartMatch()
MatchFile("C:\b\file 3.txt")
EndMatch()
Perhaps "StartMatch" could pass the flags you mentioned. If I remember correctly that would have made the implementation easier at some point.
Another useful extension would be to add something like more result groups. Currently only "not found" (0) and "found" (1) is a possible result.
It would be nice if there would be something like: "not found" (0) and "found at beginning" (1) and "found anywhere" (2).
Even more result groups are possible: "Levenshtein distance 0" (exact match), "Levenshtein distance 1" (one char differs), "Levenshtein distance 2" (two chars differ), ...
If you don't want to sort the result by the result groups (that would be nice), you could consider to color the different result groups differently.
I think 3, 4 or 5 result groups would be a great improvement. (Also 3 result groups would be nice!) n-result groups would be even better, but you would need to sort the list then.