crypto-rsa / XmlNavigator

A Notepad++ plugin which shows the structure of an XML file in a tree view and allows fast navigation within it.
4 stars 2 forks source link

Improvements to the appearance of filtered treeview items #6

Open pidgeon777 opened 5 years ago

pidgeon777 commented 5 years ago

This is the situation at the moment when I filter the treeview using a specific word:

image

A behaviour of this type would instead be perfect:

1) I start typing the word in the filter box. 2) Items are scanned and filtered according to Fuzzy Logic. 3) Items are displayed with the characters highlighted according to the text inputted by the user. 4) Occurrences are automatically expanded

A great example of a Fuzzy Logic type search and highlighting:

bfbmrcqzjb

As you can see with Fuzzy Logic happens when I start typing some partial words with missing inputted characters. For example, by typing "MaIRe" it still correctly output "MaskedIntReg", this works because of the Fuzzy Logic search. The other thing in my example is the highlighting of inputted characters, which would be great if applied even to your plugin in node filtering.

N.B.: my example comes from the great auto-complete plugin for Notepad++ included in "3P - Progress Programmers Pal":

https://jcaillon.github.io/3P/