Category:Undo: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
SET_UNDO <undo type>
[[Main_Page|{{Up}}]]
<br><undo type> may be one of the following
{{Command|syntax=SET_UNDO <undo type>
* [[TOOL_NEW]]
|description=:Set an undo state to return to if the user presses <ctrl> Z. You must specify what type of changes you would like to be able to undo, this is controlled by the <undo type> parameter.
* [[TOOL_DEL]]
 
* [[TOOL_MOVE]]
|param1=<undo type>|param1_desc=One of the following
* [[OP_NEW]]
:* [[TOOL_NEW]]
* [[OP_DEL]]
:* [[TOOL_DEL]]
* [[OP_MOVE]]
:* [[TOOL_MOVE]]
* [[PROC_NEW]]
:* [[OP_NEW]]
* [[PROC_DEL]]
:* [[OP_DEL]]
* [[PROC_MOVE]]
:* [[OP_MOVE]]
* [[WG_NEW]]
:* [[PROC_NEW]]
* [[WG_DEL]]
:* [[PROC_DEL]]
* [[WG_MOD]]
:* [[PROC_MOVE]]
* [[CS_NEW]]
:* [[WG_NEW]]
* [[CS_DEL]]
:* [[WG_DEL]]
* [[CS_MOD]]
:* [[WG_MOD]]
:* [[CS_NEW]]
:* [[CS_DEL]]
:* [[CS_MOD]]
}}
 
===Example===
:SET_UNDO WG_MOD
:SET_UNDO CS_MOD
<br>
:This sets two undo states, for WG_MOD (modifications to the workgroup) and CS_MOD (modifications to the CS). If the user presses <CTRL>z, then any changes to the WorkGroup and/or CS will be undone, but other changes (such as creating a new operation) will not be undone.

Latest revision as of 14:39, 20 August 2010

Up

Command

SET_UNDO <undo type>


Set an undo state to return to if the user presses <ctrl> Z. You must specify what type of changes you would like to be able to undo, this is controlled by the <undo type> parameter.

Parameters

<undo type>
One of the following

Example

SET_UNDO WG_MOD
SET_UNDO CS_MOD


This sets two undo states, for WG_MOD (modifications to the workgroup) and CS_MOD (modifications to the CS). If the user presses <CTRL>z, then any changes to the WorkGroup and/or CS will be undone, but other changes (such as creating a new operation) will not be undone.

This category currently contains no pages or media.