10-20-2011 10:49 AM
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.
10-20-2011 11:46 AM
Isn't that what source control is for? :dunno
10-20-2011 03:39 PM
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
10-20-2011 04:39 PM
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.
10-20-2011 05:00 PM
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.
10-20-2011 05:28 PM
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.