Issue #1541Opened October 25, 2018by YashPrince0 reactions

Remove Last changes From Undo Manager Stack

Question

@artf Hello Can we remove the last event (changes) from undomanger. I need remove last event (change) from undo manger stack. I can get undo manager stack but could not modify it. Is there any way to set pointer of stack one or two step back or remove the last events from the stacks. There is a way like um.stop() and um.start() but I can not use that as I have no Idea that from where that event are added in stack of UndoManager.

Any help would be Appreciated, thanks in advance!

Answers (2)

artfNovember 2, 20180 reactions

The only way to move the pointer is to use undo/redo methods, so if you need to remove X steps you have to execute undo X times

lock[bot]November 2, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.