Lines Matching refs:undo

39 /** provides access to the undo/redo stacks of a document
42 …<p>Changes to a document usually result in recording of information how to undo those changes, if …
43undo action records the information how to undo a single change. Undo actions are maintained in a …
44 … the changes they represent can be undo in the reverse order they have originally been applied.</p>
51 …<p>For collecting multiple changes in a single undo action, so-called Undo contexts are provided. …
52 …context is entered, all subsequently added Undo actions are not pushed onto the undo stack directl…
53 … the Undo context. Once the Undo context is left, a single undo action is pushed onto the undo sta…
58 … <p>Hidden Undo actions are those which in no observable way contribute to the undo stack. That is,
59 …any method retrieving information about the stack will behave as if the undo action does not exist…
60 … calling <member>undo</member> respectively <member>redo</member> will include those actions.<br/>
67 …ckable::unlock</member> methods. When it is locked, then every attempt to add an undo action, or to
74 /** allows <a href="#locking">locking</a> the undo manager.
78 /** allows accessing the component, usually a document, which the undo manager works for.
85 /** enters a new undo context.
87 …<p>A new undo action will be added to the undo stack, with the title given as <code>i_title</code>…
88 …as the context is not left, every undo action added to the stack will be treated as sub action. Th…
93 otherwise, the document's undo stack is left in an inconsistent state.</p>
104 /** enters a new undo context, creating a hidden undo action.
106 … <p>A hidden undo action does not, in any visible way, contribute to the undo stack. This means
108 …<ul><li>Calling <member>undo</member> when the top-element is a hidden undo action will transparen…
109 undo this action, and also undo the new top element of the stack.</li>
116 …<p>A new undo action will be added to the undo stack. As long as the context is not left, every un…
117 … the stack will be treated as sub action. This means it will not be directly accessible at the undo
121 otherwise, the document's undo stack is left in an inconsistent state.</p>
127 …if the undo stack is currently empty, in which case it is impossible to push a hidden undo action …
136 /** leaves the undo context previously opened via <member>enterUndoContext</member> respectively
139 …<p>If no undo action has been added since the context has been opened, the context is not only lef…
140 … but silently removed, and does not contribute to the undo stack at all. In this case, possible
143 …<p>Otherwise, the undo context will be closed, and added to the Undo stack; the redo stack will be…
148 if no undo context is currently open.
156 /** adds the given undo action to the undo stack.
158 <p>The redo stack is cleared when a new action is pushed onto the undo stack.</p>
160 …<p>The Undo manager takes ownership of any actions pushed onto the undo stack. This means that if …
165 …cking">locked</a> at the moment the method is called, the call will be ignored, and the undo action
169 if the given undo action is <NULL/>.
179 … <ul><li>invoke <member>XUndoAction::undo</member> on the top-most action of the undo stack</li>
180 <li>move this undo action from the undo stack to the redo stack</li>
184 if the undo stack is currently empty
187 if there currently is an open undo context
190 …if the invocation of <member>XUndoAction::undo</member> raised this exception. In this case, the u…
191 of the undo manager will have been cleared.
196 void undo()
205 <li>move this action from the redo stack to the undo stack</li>
212 if there currently is an open undo context
216 of the undo manager will have been cleared.
218 @see undo
225 /** determines whether <member>undo</member> can reasonably be expected to succeed.
228 … <FALSE/> if and only if the undo stack is currently empty, or there is an open and not-yet-closed
229 undo context.
237 undo context.
241 /** returns the title of the top-most action on the undo stack
244 when the undo stack is currently empty
260 /** returns the titles of all actions currently on the undo stack, from top to bottom
273 /** clears the undo and the redo stack.
279 if the method is invoked while an undo context is still open
290 if the method is invoked while an undo context is still open
298 <ul><li>remove all locks from the undo manager</li>
299 <li>close all open undo contexts</li>
300 <li>clear the undo stack</li>