[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: PCB lesstif pcb-menu.res ideas
...
> This line from pcb-menu.res suggests two commands to a key is already there:
>
> {"Lines -10 mil" ChangeSize(SelectedLines,-10,mil)
> ChangeSize(SelectedArcs,-10,mil)}
Yeah, but that is a bad example. It should include calls to Atomic() in order to make the single key-stroke command undo with a single undo command like this:
{"Lines -10 mil" Atomic(Save) ChangeSize(SelectedLines,-10,mil)
Atomic(Restore) ChangeSize(SelectedArcs,-10,mil) Atomic(Block)}
h.
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user