[Project_owners] Manually adding things to the undo pile
mbokil at bokil.com
Tue Oct 14 09:17:28 EDT 2003
David Murray wrote:
> I've got a textbox, all nice and happy, as textboxes usually are.
> Undo/Redo works fine on it. However, I've got it so that if you press
> Ctrl+B, it calls a function that adds <b></b> tags around whatever text
> is selected. It works all fine, except as soon as the function runs, it
> clears out all the undo memory. It seems that settling textbox.value
> wipes resets the undo pile.
This is my experience also. If you change your textbox value it will
automatically wipe the undo pile. I would be interested if you come up
with a way to prevent this.
More information about the Project_owners