← Back to team overview

kicad-developers team mailing list archive

Re: Undo stack limit?

 

Le 03/08/2015 13:38, Chris Pavlina a écrit :
> It seems I'm not the only one who occasionally finds the undo stack size 
> limit of ten to be, er, limiting. Would anyone object to raising this 
> limit to something like fifty? I can't see any place where that is 
> likely to cause issues, and the data doesn't use very much memory.
> 
> --
> Chris

There is not technical reason to limit the undo stack to 10.
It can be increased to a larger value.

However if it is increased, developers need an user option (the best for
me is a choice in config setup) to set this limit to a lower value when
debugging/testing kicad.

Why?

Just because some bugs hard to find can be seen only when the undo stack
reaches this limit.
When this limit is reached, items in undo stack are actually deleted.
And bugs like double deletion or a pointer to deleted items can be seen
only when the limit is reached.


-- 
Jean-Pierre CHARRAS


Follow ups

References