advice2020 created an issue (geany/geany-plugins#1519) In the `TreeBrowser` plugin, renaming items causes some strange behavior with the cursor/highlight.
So far I noticed this strange behavior happens in two different scenarios, both with different cursor issues as well. `SCENARIO 1` Say the following items are within a folder called `FRUIT` FOLDER1 FOLDER2 Apple.txt Banana.txt Orange.txt If you rename any of these text files, the cursor disappears after the rename occurs. `SCENARIO 2` Say the following txt files are in the expanded FOLDER2 FOLDER1 FOLDER2 -Apple.txt -Banana.txt -Orange.txt FOLDER3 If you rename any of these text files, the cursor jumps to highlighting FOLDER3 In this simple example this may not seem that bad, but if for example FOLDER2 had many txt files inside (that fill up height of sidebar), then when the rename occurs, the cursor ends up all the way at the bottom highlighting FOLDER3 out of view of the user. Some solutions would be to... -Have the cursor/sidebar navigate/scroll (if beginning letter is changed) with that newly renamed items location. -Make cursor just advance to the next item in the list so that at least the cursor does not just disappear. -If neither of the above then might at least be better to have cursor highlight the folder that the rename occurred in, which in the example above would be FOLDER2 (instead of down to FOLDER3). Thank you to anyone who reads this -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1519 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/[email protected]>
