From a287dbab235c9041a32300a9e0bb60ef41864963 Mon Sep 17 00:00:00 2001 From: David Jeannot Date: Tue, 6 Sep 2011 10:10:43 -0400 Subject: devdraw: draft cocoa support R=rsc CC=plan9port.codebot http://codereview.appspot.com/4974060 --- src/cmd/acme/text.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cmd/acme') 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 */ -- cgit v1.2.3