Marking a single word, or a single line

Started by rjbull, May 29, 2009, 02:53:55 PM

Previous topic - Next topic

rjbull

I'm a keyboard person, not a mouse person.  So I'd like keyboard shortcuts for marking a word, and also for marking a line, in the way that TED Notepad and Crimson Editor do (don't much like Shift-arrow keys).  Extra kudos to TED Notepad because Ctrl-D marks the current word, and Shift-Ctrl-D adds the next word to the right to the selection.  These features are specially useful to me when working on patent information, where I need to copy a patent number to the clipboard to paste it into another application.

I can't see such feataures in HE 1.42; have I missed them?  If they aren't there, please can they be added?

Thanks...

Stefan

Hi R.

>I can't see such feataures in HE 1.42; have I missed them?
I quick look at "Tools > Keyboard Settings..." and entering "select" shows nothing like Edit.SelectWord.
So i think it is not there.


BTW, I am not against your wish,
but you know there is  "Ctrl+Shift+Arrow right/left" for that purpose, which works everywhere in windows?

Ctrl           +D
Ctrl+Shift  +ArrowRight
Ctrl+Shift  +ArrowLeft

It's only i am using always C+S+ARight a few times and then one time Shift+ALeft to release the last space.
Isn't that an work around?   Or  is it this waht you mean by   => "(don't much like Shift-arrow keys)" ?

CU
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Arthur

Quote from: rjbull on May 29, 2009, 02:53:55 PM
... where I need to copy a patent number to the clipboard to paste it into another application.
IMHO this is where the future Scripting support can shine. So for example if the numbers look like US 20020000067, a script based on a pattern can be built to capture all these that start with letters US and then a space and then 11 numbers, capture all your patent numbers in a document this way and put them onto the clipboard to subsequently paste elsewhere. Isn't it more productive?

alex

Hello All,

to rjbull:
in addition to Ctrl+Shift+Arrow you have a Alt+Down/Up which are (Extend/Shrink selection). It also selects a current word and can select a paragraph also if we talk about plain text editing (ok, it works every there).

In addition you can use some commands from Edit->Selection menu. For example Select From Anchor or Begin/End Stream selection. Or you can use Lock Selection mode.

to Arthur:
I think the best in this case would be regular expression search with US\w+[0-9]+ and output to a search result window or new document.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

I 'd say RegEx is an overkill for even an average programmer.
Most users would not have the proper experience with it to construct even simple searches, plus it is not as persistent as a macro/script.

rjbull

Stefan:
QuoteC+S+ARight a few times and then one time Shift+ALeft to release the last space. Isn't that an work around?   Or  is it this waht you mean by   => "(don't much like Shift-arrow keys)" ?

Yes, that's what I mean by "don't like."  I admit I don't quite know why I dislike them so much - except really, I want everything to be WordStar-style  :)

Arthur:
The scripting support would indeed be useful for many things, especially when I have to convert full US patent format into the short form used by Delphion online, for example.  But I would find marking a word or a line with a single key generally very useful anyway (even UltraEdit has a single key for marking a word).  As for regexps - KEEP THEM!  :)  I'm not a programmer and even I use regular expressions.

Alex:
Alt+Down/Up is interesting, and I have to try it further, but just to mark a line, I found that Control-X, Control-V quicker.  As long as I remember that Control-V is vital...