plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit b15fd97627767291628309677c40b3f40b868497
parent 00b50225c203e06a4f23e1d2eb41e84116933e53
Author: Russ Cox <rsc@swtch.com>
Date:   Sat, 15 Jul 2017 20:23:15 -0600

acme: implement Cmd-Shift-Z for Redo on Mac

Change-Id: Ie9332ed473609bd6ca156be0843dc5411cbf7b93
Reviewed-on: https://plan9port-review.googlesource.com/2941
Reviewed-by: Russ Cox <rsc@swtch.com>

Diffstat:
Msrc/cmd/acme/text.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c @@ -757,6 +757,10 @@ texttype(Text *t, Rune r) typecommit(t); undo(t, nil, nil, TRUE, 0, nil, 0); return; + case Kcmd+'Z': /* %-shift-Z: redo */ + typecommit(t); + undo(t, nil, nil, FALSE, 0, nil, 0); + return; Tagdown: /* expand tag to show all text */