devdraw: draft cocoa support

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4974060
This commit is contained in:
David Jeannot 2011-09-06 10:10:43 -04:00 committed by Russ Cox
parent f0a4e8bd6c
commit a287dbab23
8 changed files with 1340 additions and 0 deletions

View file

@ -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 */