Posted 20 years ago by Marianne
Seeing the UndoableInsert method would lead one to believe that the regular InsertText method does not add the item to the undo stack--obviously, this is not the case.

How can I go about making a change to the document that does not get added to the undo stack? Thanks.

------------------------------- Marianne

Comments (1)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
There is no way for you to add a non-undoable change. The reason is that if you did, all the offsets in the undoable operations would be out of sync and therefore when you performed the undoable operations, exceptions would start occurring since your offsets would be potentially out of range, etc.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.