File: undo.html

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (22 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
The unlimited undo feature of pcb-rnd allows you to recover from
most operations that materially affect you work.  Calling
<act>pcb_undo</act> without any parameter recovers from the last (non-undo)
operation. <arg>ClearList</arg> is used to release the allocated
memory. <arg>ClearList</arg> is called whenever a new layout is started or
loaded. See also <act>Redo</act>.
<p>
Note that undo groups operations by serial number; changes with the
same serial number will be undone (or redone) as a group.  See
<act>Atomic</act>.
<p>
The following arguments are intended for scripting:
<ul>
	<li> FreezeSerial: stop increasing the undo serial number
	<li> UnFreezeSerial: stop increasing the undo serial number
	<li> FreezeAdd: start adding operations to the undo list again
	<li> UnFreezeAdd: start adding operations to the undo list again
	<li> IncSerial: increase the undo serial number (operations with the same serial number are batched); a typical sequence for batching operations is: Undo(FreezeSerial); ...; Undo(UnFreezeSerial); Undo(IcSerial)
	<li> GetSerial: return the current undo serial
	<li> GetNum: return the number of undo slots currently allocated
	<li> Above, sernum: perform undo of all operations with serial number higher than sernum
</ul>