NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Raydur

Utilize text editing UNDO with Step Settings

Status: New

When editing the Value text within Step Settings for a parameter, the Undo command completely reverts back to the state of the step prior to any entry modification. This is frustrating when a notable amount of code has been added/edited to an entry box and you want to "back up" a bit to a point somewhere between now and when you started editing. This functionality is already present in the expression browser: activating the Undo simply steps back into the process of the code you are writing. Can this functionality also be present in the Step Settings pane when entering code there? Once you press "Enter" to complete the entry, then the functionality could be as before (Undo reverts the entire edit). But when you're in the middle of typing code, Undo seems like it should just reverse the last steps of the code you are writing rather than completely abolish everything you've done during the edit.

 

Essentially, while actually editing the Value entry there should be a temporary Undo stack that is used for the text edits. This stack can be abolished and the main Undo Stack is resumed when the entry is submitted (press Enter, select a different field, etc.).

1 Comment
Elaine_R.
Active Participant

I've gotten burned by this too when working on long expressions. It'd be nice if the expression boxes had an 'update while typing' style event registration rather than one blanket val change.