cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

[feature request] better search results

Open fyvfy opened this issue 1 year ago • 0 comments

I have nodes with long names and it is a problem. Columns in search results window (node name | line | line content) change their width automatically. Sometimes i need to make search window wider than the screen or use horizontal scrolling just to see search results.

  • feature number 1: allow resizing columns with mouse

  • feature number 2:

    • option to restrict width of the "node name" column to ~32 symbols (also need option to change this value) while allowing to manually change column width with mouse.
    • also make those truncated "node names" visually stand out. maybe add ">" symbol at the end.
    • also show tooltip with full "node name". Right now it shows some meaningless numbers like 1165 or 1436 (what are they?)
  • feature number 3: option to add another column - "parent node name". One or two parents with their names truncated to like 16 symbols. Make this column first.

What it might look like: Open search with ctrl+f, enter your search term, press enter. Search results window appears. Here you see short "node name" column, "line" and a good portion of "line content" column. If "node name" is too long you will see ">" symbol and now you know that name is truncated. Then you might hover mouse over "node name" and read full name in tooltip. Or adjust column width if you have nodes with similar names.

fyvfy avatar Oct 15 '23 19:10 fyvfy