LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Undo annoyance

I don't get how this would be confusing. There is an undo-undo (Ctrl-Z) if you don't want to change anything. If you do, then you have basically to cope with your mistake, so you can only blame yourself for having to backtrack (I say you, but this is a figure of style). I guess being able to drop a bookmark would help and that has been proposed a few times, if I remember correctly.

0 Kudos
Message 11 of 16
(666 Views)

Isn't that what source control is for?  :dunno

0 Kudos
Message 12 of 16
(658 Views)

I'll start by saying that I appreciate X.'s frustration when an undo operation shows a marching-ants "ghost" of what's being undone, because it's not in the currently visible subdiagram.  Since I don't hear any support for adding visible-case changes to the undo chain (seems reasonable, they don't change the compiled code), maybe it WOULD be a good idea to have undo force the changed code to be made visible.  Without thinking about it too deeply, this seems like it should be pretty trivial to do - just walk the ownership chain of the node(s)/wire(s), making each subdiagram visible, until back to the root BD.  If changes to the visible diagram index of a multiframe structure aren't significant enough to store in the undo history, what's the harm in having the editor flip through the cases to get you back to where you made that change?

 

Or am I missing something significant?

 

Dave

David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
Message 13 of 16
(642 Views)

Another scenario is when you have mixed FP/BD actions in the Undo Buffer.  You can be undoing some things without realizing it.  You can be changing the values of a few controls, then moving a few subVIs, then changing a few more values.

 

I have always thought that the undo buffer should respect time reversal symmetry as much as possible.  It should literally back-track through window switches, frame changes, etc.  I do not necessarily need pixel-by-pixel movements when I am nudging something but I doubt even that takes too much memory.  I'd like to think of it as instant replay.

0 Kudos
Message 14 of 16
(633 Views)

I'd like to see using the arrow keys to nudge something when it's in another case and has nothing but the marching ants force the item into view.  As long as undo selected whatever item was acted upon this could force the view to the correct case or front panel.  Either BD or FP undos + arrow should center the view on the item with the ants.

 

Just my two cents.

Message 15 of 16
(628 Views)

Not an obligation to follow, but I just created a thread about "Redo the Undo" in the Idea Exchange forum. This thread was really just a way to check that I was not missing an obvious feature.

0 Kudos
Message 16 of 16
(619 Views)