halfbrained / cuda_breadcrumbs

CudaText plugin. Breadcrumbs: widget for quick filesystem navigation
5 stars 1 forks source link

Is filtering/search needed? #2

Closed halfbrained closed 3 years ago

halfbrained commented 3 years ago

I think it would be nice to highlight matching files as you type in the tree-dialog, but treeview does not provide api for that.

halfbrained commented 3 years ago

@Alexey-T

Alexey-T commented 3 years ago

But how does it relate to breadcrumb?

halfbrained commented 3 years ago

In the tree dialog, quick search in large folders

Alexey-T commented 3 years ago

dlg_proc allows to set 'key_preview':True so your form can geet pressed keys in memory, and perform some jumps. right?

halfbrained commented 3 years ago

I didn't want removing non-matching files from tree. Jumping to matches is better, also will add keys to jump to next/previous matches.

Alexey-T commented 3 years ago

Ok,agree. I stil don't get idea how this jump will work

Alexey-T commented 3 years ago

(form gets pressed keys via on_key_down event)

halfbrained commented 3 years ago

Just added, I would appreciate some feedback on how intuitive this is :)

Typing anywhere in the dialog modifies search string, F3/Shift+F3 to search forward/back