View Single Post
Old 01-02-2019, 03:41 PM   #296
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,054
Default

Quote:
Originally Posted by tack View Post
Desperately wish for the ability to pause and resume accumulation of undo. Akin to PreventUIRefresh() except for undo.

It's difficult to avoid rampant undo spew for complex scripts, and Undo_BeginBlock() is a pretty costly API call when the ideal UX is not to have any undo at all.
+1
I once asked about this (though extension and not script related, but similar use case), with no reply sadly.
https://forum.cockos.com/showthread....49#post1947649
nofish is offline   Reply With Quote