mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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>
This commit is contained in:
parent
00b50225c2
commit
b15fd97627
1 changed files with 4 additions and 0 deletions
|
@ -757,6 +757,10 @@ texttype(Text *t, Rune r)
|
||||||
typecommit(t);
|
typecommit(t);
|
||||||
undo(t, nil, nil, TRUE, 0, nil, 0);
|
undo(t, nil, nil, TRUE, 0, nil, 0);
|
||||||
return;
|
return;
|
||||||
|
case Kcmd+'Z': /* %-shift-Z: redo */
|
||||||
|
typecommit(t);
|
||||||
|
undo(t, nil, nil, FALSE, 0, nil, 0);
|
||||||
|
return;
|
||||||
|
|
||||||
Tagdown:
|
Tagdown:
|
||||||
/* expand tag to show all text */
|
/* expand tag to show all text */
|
||||||
|
|
Loading…
Reference in a new issue