OK, I can see your reasoning.  What about adding the ability to "pop" an item 
off of the undo/redo stack?

Cheers,
Mike

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]]
Sent: Mon 11/19/2007 11:10 AM
To: Santy, Michael
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] batch editing rollback
 
Santy, Michael wrote:
> 
> Do you forsee any future support for adding a rollbackBatchEditing, that:
> 1) Undoes the pending changes without any thing being added to the 
> undo/redo stack
> 2) Ends the block editing event
> 

I'm sorry but I have to answer no.

Such feature is almost never needed, because a command written in 
Java[tm] is expected to know what it is doing. That is, a command is not 
expected to start modifying the document when it is not 100% sure that 
it will succeed in doing so.

We consider that clearing the undo stack is acceptable when such an 
exceptional case  occurs.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20071120/808f5155/attachment.htm
 

Reply via email to