Ctrl+Right stops at underscore - how do you make it stop?

General and specific configuration/INI settings

Ctrl+Right stops at underscore - how do you make it stop?

Postby khariv » Wed Apr 27, 2005 12:04 am

The title pretty much says it all. UltraEdit considers the underline character "_" to be a word break. However in SQL tables, you often use that to separate words in a single "Name" for a column or a table. For example, the table name DB_TABLES_NEW_NAMES, when you try to skip over word by word (ctrl-right), it stops at the following places:


DB^_^TABLES^_^NEW^_^NAMES

Again, this is sort of frustrating. So is there any way to tell Ultraedit that the _ is not a word separator that should be stopped at?

thanks
khariV
User avatar
khariv
Newbie
 
Posts: 3
Joined: Tue Apr 26, 2005 11:00 pm

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Mofi » Sun May 15, 2005 7:02 am

In the help I found:

Normally a single word is selected made up of any alphanumeric character or underscore '_'.

But this is only for selecting a word. Ctrl+Right and Ctrl+Left stops at any character, which is not alphanumeric. This cannot be changed and is of course not well done.

Write a request by email to IDM, so IDM can change it in a future release. I think, IDM has simply forgotten to add '_' as word character for this function.

I also support this request for improvement of move cursor to next/previous word.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Miklos » Wed Jan 28, 2009 9:38 am

Has this issue been solved since then?
In what release?
Regards, Miklos
User avatar
Miklos
Newbie
 
Posts: 5
Joined: Tue Mar 14, 2006 12:00 am

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Mofi » Wed Jan 28, 2009 11:04 am

Since UE v13.00 there is the option Underscore is word stop for Ctrl left/right arrow at Advanced - Configuration - Editor Display - Cursor/Caret which can be enabled or disabled.

And since UE v13.10 there is a further option in the same configuration dialog named CamelCase naming stops for Ctrl left/right arrow.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Miklos » Mon Jul 06, 2009 8:43 am

Thanks Mofi,
at last I got UEStudio 09, and it works fine.
I have another question about words with underscores:
I have set up delimiters so that I can select the _part_ of word between underscores by Ctrl-DblClick.
This way I can only select one part, dragging the mouse does not extend the selection to the next part. (I often need to copy all parts but the last etc.)
Could this way of selecting a partial word work like selecting a whole word by DblClick?

Similar question: dragging after a TripleClick does not select more than one line. Why? (putty works like that, it is a good example)
I miss this, as well, but selecting on the line counter solves this.

Regards from Hungary
Miklós
User avatar
Miklos
Newbie
 
Posts: 5
Joined: Tue Mar 14, 2006 12:00 am

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Mofi » Mon Jul 06, 2009 10:35 am

We have already discussed your triple click wish here. If nobody (else) has requested that from IDM by email, you can't expect that it is implemented in the meantime.

I don't really understand your other mouse selecting wish which is obviously also not possible. Sorry, but I NEVER (really!) use the mouse for selecting text in a text editor. I have my fingers on the keyboard when writing something and therefore use the keys to select the text. I have even disabled the drag and drop text feature in UltraEdit as well as in MS Word and Total Commander. I work also daily up to 3 hours on my laptop in the train to/from work. The touchpad is disabled because too many vibrations caused wrong actions. There is no place for a mouse in the train and therefore the pointing stick is the only "mouse" I can use in the train. So I quickly learned to operate all my programs (except graphic applications) as much as possible with the keys. Working with the keys is always faster than working with the mouse when knowing all the keys of interest. That does not mean that you should learn to use the keys instead of the mouse. I have written this just for your understanding why I can't really help you here with your mouse selecting and drag and drop problems. Maybe somebody else using also the mouse often can help you.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Miklos » Mon Oct 12, 2009 8:12 am

Thanks Mofi, I agree with U on the speed of using the keyboard.
Exactly the work with underscore separated word parts is one of the main reasons for me to use the mouse:
It is quite complicated to toggle between the 2 selection modes using keys: next word or next word part (following an unserscore).
With the mouse, it is just the matter of pressing Ctrl or not.
So I am still waiting for the extendable ctrl-double-click functionality. Unless a very fast key sequence is suggested :)
User avatar
Miklos
Newbie
 
Posts: 5
Joined: Tue Mar 14, 2006 12:00 am

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby danne » Mon Oct 12, 2009 9:15 am

Well, this is a "bit" off topic, but about the same issue from another angle ^^

I sent in a request to IDM some months ago about the JS function UltraEdit.activeDocument.selectWord() to have an argument to make it work like ctrl+dbl-click. So, I hope you also sent a request on your issue =) More requests = higher possibility of an addition =) You could use that in a script and bind it to any key combination you want (after a fix has been issued of course).
User avatar
danne
Basic User
Basic User
 
Posts: 36
Joined: Mon Feb 07, 2005 12:00 am

Re: Ctrl+Right stops at underscore - how do you make it stop?

Postby Mofi » Mon Oct 12, 2009 1:54 pm

Well, an optional parameter for UltraEdit.activeDocument.selectWord() to act as Ctrl+Double Click would be often useful.

But you don't need to wait for this enhancement. It is already possible to do this with a macro or script. See

Assign Ctrl+Double Click to keyboard
Customize 'Select Word' to include a dash as word char
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Configuration/INI Settings