Command done on the text! A command representing the action and the
amount, like cut from location 3 to 24 of the text.
The text you cut of must also be saved, certainly!
James Marsden schrieb:
Hello all,
I'm looking at building a very simple text editor application in
Flash, which needs an undo/redo stack of around 20.
My question is related to capturing the events in the stack; whether
the done thing is to capture the state of the text field contents at
every step, or just to record commands that are operated on the text
field. For example, when cutting a piece of text, does the system
record the state of the textfield when the cut is made, or does it
just record the action and values related to it, ie. "cut /piece of
text/ from string position 344".
Any advice from bods with experience in this area much appreciated!
Thanks,
James
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com