Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How enable unlimited undo? (Read 1986 times)
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
How enable unlimited undo?
Oct 5th, 2011 at 11:07am
Print Post  
I see my project only have 10 levels of undo or redo?
How can set to unlimited or increase that value?
Is possible?

Best regards.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How enable unlimited undo?
Reply #1 - Oct 5th, 2011 at 11:12am
Print Post  
Hi Pablo,

Set a large UndoManager.History.Capacity value.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: How enable unlimited undo?
Reply #2 - Oct 5th, 2011 at 11:47am
Print Post  
Thankyou Stoyan!
Exist some high resource usage like memo usage asociated to higher values?

Best regards.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How enable unlimited undo?
Reply #3 - Oct 5th, 2011 at 12:52pm
Print Post  
I wouldn't set it to more than a few thousands. The control creates a record containing saved property values, position, relations etc. for each action and that might add up to lots of RAM usage if the application runs for a long time. And the user probably wouldn't like to undo more than a few commands anyway; it might be better to implement some sort of auto-save / revert functionality in the application if you must provide an easy way to undo lots of changes.

I hope that helps,
Stoyan
« Last Edit: Oct 5th, 2011 at 2:02pm by Stoyo »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint