summaryrefslogtreecommitdiff
path: root/sys/src/cmd/file.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-09-03 20:05:26 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-09-03 20:05:26 +0200
commitde9aa721f6b481d74f437035bedbaee6fffa2627 (patch)
treeeec3247c5cdc6b768557506090ce56b01bee7be1 /sys/src/cmd/file.c
parent4596959f3b59f1048556e6ca421a6b5141773ded (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