Posted 20 years ago
by Sealed_Class_Singleton
Hi,
after an AutoReplace event, I'll have to strip some characters before/after the autoreplaced text. This can be done in the trigger event. So far, so good.
My question actually is how I can group a number of text operations (deletion(s) of selected text, text inserts) into 1 undo operation (e.g. everytime I press undo sometimes it only undos the text deletion in the end, afterwards the autoreplaced text,...) In fact, he is undoing all atomic operations in reverse order (which is quite normal).
Thx in advance
after an AutoReplace event, I'll have to strip some characters before/after the autoreplaced text. This can be done in the trigger event. So far, so good.
My question actually is how I can group a number of text operations (deletion(s) of selected text, text inserts) into 1 undo operation (e.g. everytime I press undo sometimes it only undos the text deletion in the end, afterwards the autoreplaced text,...) In fact, he is undoing all atomic operations in reverse order (which is quite normal).
Thx in advance