Lines Matching refs:undo
45 /** provides access to the undo/redo stacks of a document
48 …<p>Changes to a document usually result in recording of information how to undo those changes, if …
49 …undo action records the information how to undo a single change. Undo actions are maintained in a …
50 … the changes they represent can be undo in the reverse order they have originally been applied.</p>
57 …<p>For collecting multiple changes in a single undo action, so-called Undo contexts are provided. …
58 …context is entered, all subsequently added Undo actions are not pushed onto the undo stack directl…
59 … the Undo context. Once the Undo context is left, a single undo action is pushed onto the undo sta…
64 … <p>Hidden Undo actions are those which in no observable way contribute to the undo stack. That is,
65 …any method retrieving information about the stack will behave as if the undo action does not exist…
66 … calling <member>undo</member> respectively <member>redo</member> will include those actions.<br/>
73 …ckable::unlock</member> methods. When it is locked, then every attempt to add an undo action, or to
78 /** allows <a href="#locking">locking</a> the undo manager.
82 /** allows accessing the component, usually a document, which the undo manager works for.
89 /** enters a new undo context.
91 …<p>A new undo action will be added to the undo stack, with the title given as <code>i_title</code>…
92 …as the context is not left, every undo action added to the stack will be treated as sub action. Th…
97 otherwise, the document's undo stack is left in an inconsistent state.</p>
108 /** enters a new undo context, creating a hidden undo action.
110 … <p>A hidden undo action does not, in any visible way, contribute to the undo stack. This means
112 …<ul><li>Calling <member>undo</member> when the top-element is a hidden undo action will transparen…
113 undo this action, and also undo the new top element of the stack.</li>
120 …<p>A new undo action will be added to the undo stack. As long as the context is not left, every un…
121 … the stack will be treated as sub action. This means it will not be directly accessible at the undo
125 otherwise, the document's undo stack is left in an inconsistent state.</p>
131 …if the undo stack is currently empty, in which case it is impossible to push a hidden undo action …
140 /** leaves the undo context previously opened via <member>enterUndoContext</member> respectively
143 …<p>If no undo action has been added since the context has been opened, the context is not only lef…
144 … but silently removed, and does not contribute to the undo stack at all. In this case, possible
147 …<p>Otherwise, the undo context will be closed, and added to the Undo stack; the redo stack will be…
152 if no undo context is currently open.
160 /** adds the given undo action to the undo stack.
162 <p>The redo stack is cleared when a new action is pushed onto the undo stack.</p>
164 …<p>The Undo manager takes ownership of any actions pushed onto the undo stack. This means that if …
169 …cking">locked</a> at the moment the method is called, the call will be ignored, and the undo action
173 if the given undo action is <NULL/>.
183 … <ul><li>invoke <member>XUndoAction::undo</member> on the top-most action of the undo stack</li>
184 <li>move this undo action from the undo stack to the redo stack</li>
188 if the undo stack is currently empty
191 if there currently is an open undo context
194 …if the invocation of <member>XUndoAction::undo</member> raised this exception. In this case, the u…
195 of the undo manager will have been cleared.
200 void undo()
209 <li>move this action from the redo stack to the undo stack</li>
216 if there currently is an open undo context
220 of the undo manager will have been cleared.
222 @see undo
229 /** determines whether <member>undo</member> can reasonably be expected to succeed.
232 … <FALSE/> if and only if the undo stack is currently empty, or there is an open and not-yet-closed
233 undo context.
241 undo context.
245 /** returns the title of the top-most action on the undo stack
248 when the undo stack is currently empty
264 /** returns the titles of all actions currently on the undo stack, from top to bottom
277 /** clears the undo and the redo stack.
283 if the method is invoked while an undo context is still open
294 if the method is invoked while an undo context is still open
302 <ul><li>remove all locks from the undo manager</li>
303 <li>close all open undo contexts</li>
304 <li>clear the undo stack</li>