diff options
author | David Jeannot <djeannot24@gmail.com> | 2011-09-06 10:10:43 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-09-06 10:10:43 -0400 |
commit | a287dbab235c9041a32300a9e0bb60ef41864963 (patch) | |
tree | 0049709f4a223e0de5fde987ea0d170fcb543b1d /src/cmd/acme | |
parent | f0a4e8bd6cfb318e374e57f34b5676c6890fb1a2 (diff) | |
download | plan9port-a287dbab235c9041a32300a9e0bb60ef41864963.tar.gz plan9port-a287dbab235c9041a32300a9e0bb60ef41864963.tar.bz2 plan9port-a287dbab235c9041a32300a9e0bb60ef41864963.zip |
devdraw: draft cocoa support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4974060
Diffstat (limited to 'src/cmd/acme')
-rw-r--r-- | src/cmd/acme/text.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c index e5541a69..57fd8212 100644 --- a/src/cmd/acme/text.c +++ b/src/cmd/acme/text.c @@ -751,6 +751,10 @@ texttype(Text *t, Rune r) typecommit(t); cut(t, t, nil, TRUE, FALSE, nil, 0); return; + case Kcmd+'z': /* %Z: undo */ + typecommit(t); + undo(t, nil, nil, TRUE, 0, nil, 0); + return; Tagdown: /* expand tag to show all text */ |