aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2017-08-01 23:51:51 +0200
committerPetter Rodhelind <petter.rodhelind@gmail.com>2017-08-01 23:51:51 +0200
commit810cecc30d4cefe40401051a8e877665292a594d (patch)
tree6565ac720dede033d0ad88bee1fc29ee38b4baad /src/cmd/acme
parent7d0663b7c023cd7dd2764cb232798f8bc1309c20 (diff)
parent4a8c0c75ffd40d08837d6937e1e995c68ceb276e (diff)
downloadplan9port-810cecc30d4cefe40401051a8e877665292a594d.tar.gz
plan9port-810cecc30d4cefe40401051a8e877665292a594d.tar.bz2
plan9port-810cecc30d4cefe40401051a8e877665292a594d.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/cmd/acme')
-rw-r--r--src/cmd/acme/text.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
index e1b52859..e82a3a30 100644
--- a/src/cmd/acme/text.c
+++ b/src/cmd/acme/text.c
@@ -802,13 +802,15 @@ 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;
case Kcmd+'s': /* %S: save/put file */
typecommit(t);
put(&t->w->body, nil, nil, XXX, XXX, nil, 0);
return;
-
-
Tagdown:
/* expand tag to show all text */
if(!t->w->tagexpand){