LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 

Allow ^Z to "undo" in LabVIEW VI "Documentation" Property

One of the most over-looked LabVIEW VI Properties, mentioned in all of the "Good LabVIEW Coding Practices", is the one called "Documentation", where you describe what the VI does, and its Inputs and Outputs (at a minimum).  [NI Examples are certainly guilty of this].

 

I've been trying (and mostly succeeding) to ensure that every VI I write has such Documentation.  Sometimes I make a mis-type, highlight "bad" parts, and hit the "Delete" (or backspace), then say "Oops, erased too much, let's undo that with ^Z".  Except there is no Undo, or at least it isn't bound to ^Z here.

 

I can find no other place in LabVIEW that doesn't allow ^Z to replace deleted text.  It works in String Constants, in Labels (whether Free Labels or names for Controls/Indicators), and other places.

 

To encourage LabVIEW Developers to use the Documentation property, can you please allow us to "undo a boo-boo" with ^Z?

 

Bob "Imperfect" Schor

6 Comments
Trusted Enthusiast

>I can find no other place in LabVIEW that doesn't allow ^Z to replace deleted text. 

 

The Help Tag and Help Path in the same dialog.

 

Might as well fix those while fixing this.

Knight of NI

@Wiebe:  Thanks for expanding on the Problem Domain.  I suspect all of these are the same basic sub-system, so maybe "Fix One, Fix them All" ...

 

Bob Schor

Trusted Enthusiast

It looks like the entire dialog discards CTRL in an event structure. Pressing CTRL+Z results in a "z" text entry...

 

Making undo work in a string control is easy (default behavior), but making it work for the entire dialog isn't easy. The text state of the individual texts need to me remembered, but then it will "fight" with the default undo of the individual string controls.

 

Guess that's the reason it's been actively "disabled"

Proven Zealot

> Guess that's the reason it's been actively "disabled"

 

From source code control history, the code that drives that dialog predates the introduction of undo into LabVIEW in LabVIEW 5.0. It's had some work done on it, but all superficial stuff. I suspect that the reason it does not work is that it never existed.

 

I doubt we can get to this in LV 2019 -- there's some heavy lifting already in the pipeline that I think y'all will like -- but I agree that this is worth some priority. I'll see if I can convince my peers likewise.

Active Participant

And make Ctrl-a select all instead of "a" please...

I think such shortcuts are missing in a few more places though I don't remember which specifically.

Example Gatekeeper
Status changed to: Declined

Moved to CAR database: CAR 733804

DNatt, LV R&D