muf icon indicating copy to clipboard operation
muf copied to clipboard

Limit UndoStack Size

Open nathanaw opened this issue 7 years ago • 2 comments

(Submitted by droberts75 on codeplex)

Can we add a limit to the undostack so if a user is using the applications all day long we don't build a stack with thousands of changes? Something like 50 or 100 would be ideal.

nathanaw avatar Aug 31 '17 23:08 nathanaw

I'll need to look into this a bit.

The Stack class doesn't have this built in, so we'd need to copy the top N entries in the stack to a new instance of the stack.

nathanaw avatar Apr 18 '20 22:04 nathanaw

That’ll be an amazing feature to have.

francisrc avatar Jul 16 '20 16:07 francisrc