Ticket #4161 (new enhancement)
Add quick search for listboxes
Reported by: | jedi7 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | listbox search chown | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
This patch add support to fast move to item in list.
When a-z key is pressed, then it search first character in list and move select to him.
It is extremely usable on chown dialog, where searching for proper name is hell.
Now you can just press first character of name and it moves here.
Patch attached and also here: https://github.com/MidnightCommander/mc/pull/160
Attachments
Change History
Changed 4 years ago by jedi7
- Attachment 0001-Add-support-for-fast-select-in-listbox-by-key.patch added
comment:2 Changed 4 years ago by andrew_b
- Branch state changed from on review to no branch
- Summary changed from Add fast search for listboxes to Add quick search for listboxes
If you propose your patches to some project, please don't ignore coding style used in that project.
Use of first char only for quick search is semi-solution. Only [a-z] chars are handled, all other chars (capital letters, digits, non-latin chars) are ignored. Full-functional quick search (as in file panel) should be implemented for WListbox widget.
patch