LabVIEW Idea Exchange

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

Make text "controls" behave like all others in the OS

Status: Declined

Any idea that has received less than 8 kudos within 8 years after posting will be automatically declined.

Make all of the text editable controls (like control labels, VI names in the project, or even the "VI description" in the "VI properties" dialog) behave like all other Windows input boxes do. I've become accustomed to some standard editing behavior like:

- Ctrl-Left, Ctrl-Right - jump to the next word break

- Shift-Ctrl-Left, Shift-Ctrl-Right - select word left/right

 

Probably some others as well, but I constantly use these.

11 Comments
PhillipBrooks
Active Participant

Can you explain in more detail? I have been able to do this for as long as I can remember in LabVIEW. I suspect that your problem has to do with selecting the right tool from the tools palette.

Jarrod_S.
Active Participant

Remember, also, that LabVIEW is a cross-platform language and other OS's (Mac OSX in particular) do not have this text functionality, much to my dismay.

Jarrod S.
National Instruments
elset191
Active Participant

 


@jarrod wrote:
Remember, also, that LabVIEW is a cross-platform language and other OS's (Mac OSX in particular) do not have this text functionality, much to my dismay.

I'm not on my mac right now, but I'm pretty sure if you replace ctrl with cmd that the shortcuts work.  (Assuming you don't have them set to something else.  For a while i had cmd+arrow switch spaces, which disabled my ability to skip words)

 

--
Tim Elsey
Certified LabVIEW Architect
Miha_Vitorovic
Member

@Philip Brooks: I'm using LV 2009 on Win7. I created a blank VI, added a numberic control to it. The name of the Control is "Numeric", and is ready for editing. I added three words to it "Number one two three". Now the cursor is at the end of the string. Pressing Ctrl-Left only moves the cursor one character to the left, instead of jumping to the space between "two" and "three".

 

@Jarrod: Linux + Gnome has this functionality, so I guess this only leaves Mac...

Intaris
Proven Zealot

Title of the topic is misleading.  While this might work in a string control (which the title leads one to believe is the target of the request) I believe this refers to OTHER text fields (Labels, Captions and so on).

Miha_Vitorovic
Member

Well yes, I was aware of the term confusion, but what do you call "text controls"?

 

I was hoping that the description specified what type of text controls I have in mind...

elset191
Active Participant

What "text controls" are you specifically seeing this not working in?  I tried on controls, labels, front panel comments and VI Description and ctrl+arrow has worked on all of them...

--
Tim Elsey
Certified LabVIEW Architect
Intaris
Proven Zealot

It does describe it, but some might not see past the "Text Controls" and automatically think String controls.  I would have chosen something like "Text fields" because this is less likely to be confused with other LV-specific things.

Miha_Vitorovic
Member

@elset: funny, because it doesn't work on any of them for me...

drmase13
Member

@jarrod wrote:
Remember, also, that LabVIEW is a cross-platform language and other OS's (Mac OSX in particular) do not have this text functionality, much to my dismay.

Mac OSX absolutely does have this functionality, you just use the option (alt) key instead of control, e.g. option-right arrow moves to the end of the next word just like control-right arrow does in Windows.