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

Automatic treeview item selection based on the cursor position in the editor #4

Open pidgeon777 opened 5 years ago

pidgeon777 commented 5 years ago

Currently, when I select a node from the treeview window, the respective row in the editor is selected. What about the opposite way: I select a node in the editor, and the respective item in the treeview is selected? This behaviour also happens in some word processing editors, where you have some chapter list, and when you select the chapter in the editor the respective item in the list is highlighted.

crypto-rsa commented 5 years ago

Hm, I am sure I've looked at this way back when working on the initial release. I'll take a second look but I am afraid it won't be easy.

pidgeon777 commented 5 years ago

If you could give that a look at that, in accordance with your schedule, it would be a really nice addition in my opinion. You could instantly understand the point where you currently are just by looking at the treeview once you have placed the cursor.