Article View: comp.sys.mac
Article #14934MacApp's undo ability.
From: pgtrubey
Date: Mon, 09 Mar 1987 19:20
Date: Mon, 09 Mar 1987 19:20
23 lines
1474 bytes
1474 bytes
Somebody a while back mentioned something about extending MacApp
to allow for multiple undo operations as opposed to just being
able to undo the latest command.
Is there a reason why this wasn't implemented in MacApp?
It seems to me that it wouldn't be too hard given the current MacApp
framework. Instead of MacApp <Commit>ing the last command before
<Doit>ing the current one, why couldn't it keep all the commands
on a stack and thus it could successively undo each operation.
I guess as you undid commands, you would have to keep another stack
to be able to redo each command.
The only problem that I see is when to <Commit> the commands. You could
either allow a maximum undo stack, or you could commit commands only when
something like a file save was being performed.
Is this resonable, or have I overlooked something?
--
Phil Trubey
pgtrubey@watlion.UUCP !{allegra,clyde,decvax,ihnp4}!watmath!watlion!pgtrubey
pgtrubey%watlion%waterloo.csnet@csnet-relay.ARPA
pgtrubey%watlion@waterloo.CSNET
Technical Details
Message-ID:
<7932@watlion.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watlion!pgtrubeyShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watlion!pgtrubey From: pgtrubey@watlion.UUCP Newsgroups: comp.sys.mac Subject: MacApp's undo ability. Message-ID: <7932@watlion.UUCP> Date: Mon, 9-Mar-87 14:20:15 EST Article-I.D.: watlion.7932 Posted: Mon Mar 9 14:20:15 1987 Date-Received: Tue, 10-Mar-87 00:35:23 EST Distribution: comp Organization: U of Waterloo, Ontario Lines: 23