Open alexherbo2 opened 8 years ago
Taking foobar, foobaz and fooqux candidates.
Typing foo will select bar.
╭──────────╮ │ foo(bar) │ ├──────────┤ ├ foobar ┤ │ foobaz │ │ fooqux │ ╰──────────╯
Typing foo then pressing tab twice will expand and select qux.
tab
╭──────────╮ │ foo(qux) │ ├──────────┤ │ foobar │ │ foobaz │ ├ fooqux ┤ ╰──────────╯
Pressing backspace or delete will remove / undo expansion.
backspace
delete
╭──────────╮ │ foo │ ├──────────┤ │ foobar │ │ foobaz │ │ fooqux │ ╰──────────╯
Pressing enter will output foo.
enter
foo
To be able to do this, we need to add support for 'selection' to the textbox widget.
That would be very nice. #603 might be also solved by this.
Taking foobar, foobaz and fooqux candidates.
Typing foo will select bar.
Typing foo then pressing
tab
twice will expand and select qux.Pressing
backspace
ordelete
will remove / undo expansion.Pressing
enter
will output foo.