Files
magic/doc/html/undo.html
T
Tim Edwards a816da60f9 Updated the HTML command reference files to refer to magic version 8.3,
since all of the title images still had 8.2, and the title text still
said 7.3 or 7.4, having not been updated for a long time.
2024-01-09 16:37:00 -05:00

83 lines
2.4 KiB
HTML

<HTML>
<HEAD>
<STYLE type="text/css">
H1 {color: black }
H2 {color: maroon }
H3 {color: #007090 }
A.head:link {color: #0060a0 }
A.head:visited {color: #3040c0 }
A.head:active {color: white }
A.head:hover {color: yellow }
A.red:link {color: red }
A.red:visited {color: maroon }
A.red:active {color: yellow }
</STYLE>
</HEAD>
<TITLE>Magic-8.3 Command Reference</TITLE>
<BODY BACKGROUND=graphics/blpaper.gif>
<H1> <IMG SRC=graphics/magic_title8_3.png ALT="Magic VLSI Layout Tool Version 8.3">
<IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1>
<H2>undo</H2>
<HR>
Undo commands
<HR>
<H3>Shortcuts:</H3>
<BLOCKQUOTE>
Key macro <B>U</B> implements the command <B>undo</B>.
</BLOCKQUOTE>
<H3>Usage:</H3>
<BLOCKQUOTE>
<B>undo</B> [<B>print</B> [<I>count</I>]] <BR><BR>
<B>undo</B> <B>enable</B>|<B>disable</B> <BR><BR>
<BLOCKQUOTE>
where <I>count</I> indicates a number of events to be undone
(default 1 event), and must be a nonzero positive integer.
</BLOCKQUOTE>
</BLOCKQUOTE>
<H3>Summary:</H3>
<BLOCKQUOTE>
The <B>undo</B> command reverses the effect of the last
executed command (command-line, script, or macro-invoked),
returning the layout to the state it was in prior to
execution of that command. <P>
Certain commands in <B>magic</B> disable the undo mechanism,
thus preventing the command from being undone. These include
layout reads and writes, CIF, GDS, and LEF/DEF reads and
writes. <P>
The <B>print</B> option generates a stack trace of the top
<I>count</I> events in the undo stack, in excruciating
detail. <P>
The <B>undo disable</B> option disables the command queue and
prevents all following commands to be undoable until the
<B>undo enable</B> command option is given. This can save
time and memory for operations in a batch file where commands
will never be able to be undone.
</BLOCKQUOTE>
<H3>Implementation Notes:</H3>
<BLOCKQUOTE>
<B>undo</B> is implemented as a built-in window command in <B>magic</B>.
</BLOCKQUOTE>
<H3>See Also:</H3>
<BLOCKQUOTE>
<A HREF=redo.html><B>redo</B></A> <BR>
</BLOCKQUOTE>
<P><IMG SRC=graphics/line1.gif><P>
<TABLE BORDER=0>
<TR>
<TD> <A HREF=commands.html>Return to command index</A>
</TR>
</TABLE>
<P><I>Last updated:</I> June 22, 2021 at 8:26pm <P>
</BODY>
</HTML>