|
|
|
01-05-2019, 11:47 AM
|
#1
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
API: UndoExclude_Begin(), UndoExclude_End()
Sometimes I use functions, that'll create UndoPoints, even if it's not neccessary for ny script at all, spamming the UndoList for the user.
For that, I would love to exclude parts of my script from undo-management, with: UndoExclude_Begin(), UndoExclude_End()
That way, I could decide, what to include into an UndoState and what not.
That kind of precision is good for the user of the script, so I only Undo stuf necessary.
|
|
|
01-05-2019, 02:30 PM
|
#2
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
|
+1, could use this too
|
|
|
01-05-2019, 02:39 PM
|
#3
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
|
+1, would use it!
|
|
|
01-05-2019, 04:23 PM
|
#4
|
Human being with feelings
Join Date: Dec 2017
Posts: 302
|
+1 to this FR
|
|
|
01-20-2019, 02:08 PM
|
#5
|
Human being with feelings
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
|
+1 supporting
|
|
|
01-21-2019, 02:29 AM
|
#6
|
Human being with feelings
Join Date: Mar 2016
Posts: 1,242
|
+1 please
|
|
|
06-02-2019, 09:11 AM
|
#7
|
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,432
|
Quote:
Originally Posted by mespotine
Sometimes I use functions, that'll create UndoPoints, even if it's not neccessary for ny script at all, spamming the UndoList for the user.
For that, I would love to exclude parts of my script from undo-management, with: UndoExclude_Begin(), UndoExclude_End()
That way, I could decide, what to include into an UndoState and what not.
That kind of precision is good for the user of the script, so I only Undo stuf necessary.
|
Aha!
So that is what is going on with all those strange undo entries filling up my buffer, even though I do not touch the JSFX, just start/stop playing. And when the buffer grows beyond 3 MB or so, Reaper starts to stutter on play ( https://forum.cockos.com/showthread....28#post2141552).
Yes, this is very much needed.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
|
|
|
07-01-2019, 09:09 AM
|
#8
|
Human being with feelings
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
|
Bumping this for good measure...
It's really a problem for both users and scripters alike at this point.
|
|
|
07-01-2019, 09:12 AM
|
#9
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Yep, I concur. Huge +1
|
|
|
07-01-2019, 09:16 AM
|
#10
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
I'm still all in for this one
|
|
|
07-01-2019, 12:14 PM
|
#11
|
Human being with feelings
Join Date: Dec 2017
Posts: 302
|
+100500
|
|
|
10-27-2021, 09:04 AM
|
#12
|
Human being with feelings
Join Date: Sep 2020
Posts: 16
|
no undo (option or method) +1
i can really use this as well. i keep the undo history on screen just to undo lists of pitch and volume changes.,.,.,
|
|
|
11-11-2021, 03:12 AM
|
#13
|
Human being with feelings
Join Date: Feb 2017
Location: Belgrade, Serbia
Posts: 338
|
I am again in a situation where I need this for a script.
+ 1000
|
|
|
11-15-2021, 11:47 PM
|
#14
|
Human being with feelings
Join Date: Oct 2019
Location: Moscow / Tbilisi
Posts: 912
|
Yes, please, devs!
These API functions would be awesome!
I understand it's maybe difficult to exclude MainCommands from undo, but other functions should be excludable as a first step.
There are a lot of ideas and space to improve whole undo system, but as a first, maybe temporary, step UndoExclude_Begin() and UndoExclude_End() would be awesome.
|
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:15 AM.
|