Category:Undo: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {| border="1" |- | align="left" |TOOL_NEW |- | align="left" |TOOL_DEL |- | align="left" |TOOL_MOVE |- | align="left" |OP_NEW |- | align="left" |OP_DEL |- | align="left"...
 
ConnerO (talk | contribs)
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| border="1"
[[Main_Page|{{Up}}]]
|-
{{Command|syntax=SET_UNDO <undo type>
| align="left" |[[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.
|-
 
| align="left" |[[TOOL_DEL]]
|param1=<undo type>|param1_desc=One of the following
|-
:* [[TOOL_NEW]]
| align="left" |[[TOOL_MOVE]]
:* [[TOOL_DEL]]
|-
:* [[TOOL_MOVE]]
| align="left" |[[OP_NEW]]
:* [[OP_NEW]]
|-
:* [[OP_DEL]]
| align="left" |[[OP_DEL]]
:* [[OP_MOVE]]
|-
:* [[PROC_NEW]]
| align="left" |[[OP_MOVE]]
:* [[PROC_DEL]]
|-
:* [[PROC_MOVE]]
| align="left" |[[PROC_NEW]]
:* [[WG_NEW]]
|-
:* [[WG_DEL]]
| align="left" |[[PROC_DEL]]
:* [[WG_MOD]]
|-
:* [[CS_NEW]]
| align="left" |[[PROC_MOVE]]
:* [[CS_DEL]]
|-
:* [[CS_MOD]]
| align="left" |[[WG_NEW]]
}}
|-
 
| align="left" |[[WG_DEL]]
===Example===
|-
:SET_UNDO WG_MOD
| align="left" |[[WG_MOD]]
:SET_UNDO CS_MOD
|-
<br>
| align="left" |[[CS_NEW]]
: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.
|-
| align="left" |[[CS_DEL]]
|-
| align="left" |[[CS_MOD]]
|}

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.