diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-09-03 20:05:26 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-09-03 20:05:26 +0200 |
commit | de9aa721f6b481d74f437035bedbaee6fffa2627 (patch) | |
tree | eec3247c5cdc6b768557506090ce56b01bee7be1 /sys/src/cmd/file.c | |
parent | 4596959f3b59f1048556e6ca421a6b5141773ded (diff) |
vt: implement proper selections (thanks Ori_B)
Ori Bernstein wrote:
> I finally got around to taking another shot at this vt patch. This change
> gets rid of implicit snarfing, and instead makes selection the way you
> select text for snarfing or plumbing. Select, then use a menu entry.
>
> It would probably be nice to have double click to expand the selection,
> rio-style, along with plumbing implicitly taking the current word, but
> that can be a separate patch.
>
> This change also punts on scrolling for simplicity -- it clears the
> selection instead of trying to handle the cases where the selection
> goes offscreen.
little amendments:
- fix line selection (point min/max inversion)
- clear selection when switching linesel/blocksel
- move selection on scroll
Diffstat (limited to 'sys/src/cmd/file.c')
0 files changed, 0 insertions, 0 deletions