[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: undo and zoom/view functions in gschem



On Thu, 2008-11-27 at 08:11 +0200, Duncan Drennan wrote:
> In gschem (version 1.4.1.20080929) viewing actions (such as zoom
> in/out) are included in the undo buffer, i.e. undo will result in the
> reversal of changes to the view before it undoes an actual action.
> 
> Is this designed to be like this, or should it behave more like pcb
> which only undoes actual actions?

Designed like this, but it is configurable:

system-gschemrc:

; undo-panzoom string
;
; Controls if pan or zoom commands are saved in the undo list.  If this 
; is enabled then a pan or zoom command will be considered a command and
; can be undone.  If this is false, then panning and zooming is not saved
; in the undo list and cannot be undone.  Note, the current viewport 
; information is saved for every command, so the display will change to the
; viewport before a command is executed.
;
(undo-panzoom "enabled")
;(undo-panzoom "disabled")

You can change the setting from any gschemrc file which gschem loads,
e.g. ~/.gEDA/gschemrc or the gschemrc in your schematic's directory.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user