<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Std_Undo</id>
	<title>Std Undo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Std_Undo"/>
	<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Std_Undo&amp;action=history"/>
	<updated>2026-06-14T23:42:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.labrps.com/index.php?title=Std_Undo&amp;diff=1930&amp;oldid=prev</id>
		<title>LabRPS: Created page with &quot;{{Docnav | |Redo |Std Edit Menu |IconL= |IconR=Std_Redo.svg |IconC=Labrps.svg }}  {{GuiCommand |Name=Std Undo |MenuLocation=Edit → Undo |Phenomena=All |Shortcut={{KEY|Ctrl}}+{{KEY|Z}} |SeeAlso=Std Redo }}  ==Description==   The &#039;&#039;&#039;Std Undo&#039;&#039;&#039; command undoes the last action.  ==Usage==   # There are several ways to invoke the command: #* Press the {{Button|16px Undo}} button. #* Select the {...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Std_Undo&amp;diff=1930&amp;oldid=prev"/>
		<updated>2024-10-26T21:08:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Docnav | |&lt;a href=&quot;/Std_Redo&quot; title=&quot;Std Redo&quot;&gt;Redo&lt;/a&gt; |&lt;a href=&quot;/Std_Edit_Menu&quot; title=&quot;Std Edit Menu&quot;&gt;Std Edit Menu&lt;/a&gt; |IconL= |IconR=Std_Redo.svg |IconC=Labrps.svg }}  {{GuiCommand |Name=Std Undo |MenuLocation=Edit → Undo |Phenomena=All |Shortcut={{KEY|Ctrl}}+{{KEY|Z}} |SeeAlso=&lt;a href=&quot;/Std_Redo&quot; title=&quot;Std Redo&quot;&gt;Std Redo&lt;/a&gt; }}  ==Description==   The &amp;#039;&amp;#039;&amp;#039;Std Undo&amp;#039;&amp;#039;&amp;#039; command undoes the last action.  ==Usage==   # There are several ways to invoke the command: #* Press the {{Button|&lt;a href=&quot;/File:Std_Undo.svg&quot; title=&quot;File:Std Undo.svg&quot;&gt;16px&lt;/a&gt; &lt;a href=&quot;/Std_Undo&quot; title=&quot;Std Undo&quot;&gt;Undo&lt;/a&gt;}} button. #* Select the {...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Docnav&lt;br /&gt;
|&lt;br /&gt;
|[[Std_Redo|Redo]]&lt;br /&gt;
|[[Std_Edit_Menu|Std Edit Menu]]&lt;br /&gt;
|IconL=&lt;br /&gt;
|IconR=Std_Redo.svg&lt;br /&gt;
|IconC=Labrps.svg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{GuiCommand&lt;br /&gt;
|Name=Std Undo&lt;br /&gt;
|MenuLocation=Edit → Undo&lt;br /&gt;
|Phenomena=All&lt;br /&gt;
|Shortcut={{KEY|Ctrl}}+{{KEY|Z}}&lt;br /&gt;
|SeeAlso=[[Std_Redo|Std Redo]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description== &lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Std Undo&amp;#039;&amp;#039;&amp;#039; command undoes the last action.&lt;br /&gt;
&lt;br /&gt;
==Usage== &lt;br /&gt;
&lt;br /&gt;
# There are several ways to invoke the command:&lt;br /&gt;
#* Press the {{Button|[[Image:Std_Undo.svg|16px]] [[Std_Undo|Undo]]}} button.&lt;br /&gt;
#* Select the {{MenuCommand|Edit → [[Image:Std_Undo.svg|16px]] Undo}} option from the menu.&lt;br /&gt;
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|Z}}.&lt;br /&gt;
&lt;br /&gt;
==Options== &lt;br /&gt;
&lt;br /&gt;
* To undo multiple actions click on the small black down arrow to the right of the {{Button|[[Image:Std_Undo.svg|16px]] [[Std_Undo|Undo]]}} button and select from the list.&lt;br /&gt;
&lt;br /&gt;
==Preferences== &lt;br /&gt;
&lt;br /&gt;
See also: [[Preferences_Editor|Preferences Editor]].&lt;br /&gt;
&lt;br /&gt;
* The Undo/Redo functionality can be disabled by unchecking the {{MenuCommand|Edit → Preferences... → General → Document → Using Undo/Redo on documents}} option. But this is not recommended.&lt;br /&gt;
* The maximum number of Undo/Redo steps is controlled by {{MenuCommand|Edit → Preferences... → General → Document → Maximum Undo/Redo steps}}.&lt;br /&gt;
&lt;br /&gt;
==Scripting== &lt;br /&gt;
&lt;br /&gt;
See also: [https://labrps.github.io/SourceDoc/ Autogenerated API documentation] and [[LabRPS_Scripting_Basics|LabRPS Scripting Basics]].&lt;br /&gt;
&lt;br /&gt;
To undo the last action use the {{incode|undo}} method of the document object. Its counterpart, the {{incode|redo}} method, is also available.&lt;br /&gt;
&lt;br /&gt;
{{Code|code=&lt;br /&gt;
import LabRPS&lt;br /&gt;
&lt;br /&gt;
LabRPS.ActiveDocument.undo()&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
When running LabRPS in pure console mode (CLI), the undo/redo mechanism isn&amp;#039;t enabled by default. It must be explicitly activated for each document.&lt;br /&gt;
&lt;br /&gt;
{{Code|code=&lt;br /&gt;
import LabRPS&lt;br /&gt;
&lt;br /&gt;
LabRPS.ActiveDocument.UndoMode = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Docnav&lt;br /&gt;
|&lt;br /&gt;
|[[Std_Redo|Redo]]&lt;br /&gt;
|[[Std_Edit_Menu|Std Edit Menu]]&lt;br /&gt;
|IconL=&lt;br /&gt;
|IconR=Std_Redo.svg&lt;br /&gt;
|IconC=Labrps.svg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Std_Base_navi}}&lt;br /&gt;
{{Userdocnavi}}&lt;/div&gt;</summary>
		<author><name>LabRPS</name></author>
	</entry>
</feed>