Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Begin Select and End Select key bindings
Begin Select and End Select key bindings [message #248058] Wed, 06 February 2008 14:34 Go to next message
Dave Greco is currently offline Dave GrecoFriend
Messages: 26
Registered: July 2009
Junior Member
In Joe (wordstar-like key bindings), there is a key binding to start the
selection of text and one to end the selection of text. So you can type
CTRL-K-B, move the cursor wherever you want, then CTRL-K-K and the text
between the two key sequences will become selected. What key bindings in
Eclipse will do the same?
Re: Begin Select and End Select key bindings [message #248100 is a reply to message #248058] Wed, 06 February 2008 16:12 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Dave Greco wrote:
> In Joe (wordstar-like key bindings), there is a key binding to start the
> selection of text and one to end the selection of text. So you can type
> CTRL-K-B, move the cursor wherever you want, then CTRL-K-K and the text
> between the two key sequences will become selected. What key bindings in
> Eclipse will do the same?
>
>
>
Hi Dave. You can see all of the key bindings by press Ctrl+Shift+L from
any editor. If you press a second time, you go to the Preferences page
where you can customize these. If you check the box "Include unbound
commands", you can see all of the possible commands you can create
keyboard shortcuts for.

I'm not aware of keys that do what you want. There are a number of
select commands, including Select Text Start / End, and Select Window
Start / End, but these appear to select from the current point to the
beginning or end of the document (as opposed to working together to
create a beginning and end for the selection).

But you can take a look and see if any of these is close to what you
want. For Java development, the Select Enclosing Element is very handy.

HTH. Mark
Re: Begin Select and End Select key bindings [message #248239 is a reply to message #248058] Thu, 07 February 2008 15:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Dave Greco wrote:
> In Joe (wordstar-like key bindings), there is a key binding to start the
> selection of text and one to end the selection of text. So you can type
> CTRL-K-B, move the cursor wherever you want, then CTRL-K-K and the text
> between the two key sequences will become selected. What key bindings in
> Eclipse will do the same?

Eclipse's text editors don't have the notion of "marking" for selection
like you describe. You can get similar behavior by holding the Shift key
while moving the cursor.

Hope this helps,
Eric
Re: Begin Select and End Select key bindings [message #248364 is a reply to message #248239] Fri, 08 February 2008 11:01 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Eric Rizzo wrote:

> Dave Greco wrote:
>
>> In Joe (wordstar-like key bindings), there is a key binding to start
>> the selection of text and one to end the selection of text. So you
>> can type CTRL-K-B, move the cursor wherever you want, then CTRL-K-K
>> and the text between the two key sequences will become selected. What
>> key bindings in Eclipse will do the same?
>
>
> Eclipse's text editors don't have the notion of "marking" for
> selection like you describe. You can get similar behavior by holding
> the Shift key while moving the cursor.

It won't help you for selecting stuff but what you can do is set a mark
(Set Mark command). You can then cut or copy the text between the caret
and the mark. You can also swap the caret with the mark. To enable this
you need to assign key bindings on the 'Keys' preference page.

Dani

>
> Hope this helps,
> Eric
Re: Begin Select and End Select key bindings [message #1836606 is a reply to message #248239] Fri, 08 January 2021 21:39 Go to previous message
Scott Moore is currently offline Scott MooreFriend
Messages: 2
Registered: December 2016
Junior Member
The issue here (and what led me to look up this thread) is that doing a select such as holding the mouse key and going to the end to select a block runs into the fact that Eclipse is very slow to do this. In a file of several thousand lines, it can come to a crawl.

All the editors before Eclipse I used had keys to start and stop selects, which means you can start a select, go to the end of the file (or whereever) and hit end select.
Previous Topic:Window Builder. HELP ME!
Next Topic:Error message Cant find class or load main
Goto Forum:
  


Current Time: Mon Jan 18 07:36:03 GMT 2021

Powered by FUDForum. Page generated in 0.03205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top