Skip to main content



      Home
Home » Newcomers » Newcomers » Configuring selection of text with double click
Configuring selection of text with double click [message #242047] Tue, 04 December 2007 06:04 Go to next message
Eclipse UserFriend
Originally posted by: tim.aidley.com

Hi Folks,
I've just been using Eclipse 3.3.0 as an editor for Lua using the 'Lunar
Eclipse' plugin, but I've got an irritating problem with text selection.
Often I have a line like:

self.myObject:MyMethod(blah)

and I'd like to be able to double click on the 'myObject' to select it for
doing a copy->paste operation. However, currently in Eclipse it will
select the whole 'myObject:MyMethod' section. I was hoping there was some
way to get Eclipse to not select over a colon with a double click, just as
it currently does with a period.

So far I've not found anything in the preferences that will do what I want
- does anyone know another way to get it to work?

Thanks,

Tim
Re: Configuring selection of text with double click [message #242781 is a reply to message #242047] Tue, 11 December 2007 05:03 Go to previous message
Eclipse UserFriend
Tim Aidley wrote:

> Hi Folks,
> I've just been using Eclipse 3.3.0 as an editor for Lua using the
> 'Lunar Eclipse' plugin, but I've got an irritating problem with text
> selection. Often I have a line like:
>
> self.myObject:MyMethod(blah)
>
> and I'd like to be able to double click on the 'myObject' to select it
> for doing a copy->paste operation. However, currently in Eclipse it
> will select the whole 'myObject:MyMethod' section. I was hoping there
> was some way to get Eclipse to not select over a colon with a double
> click, just as it currently does with a period.

What's selected on double-click depends on the editor you are using. The
editor can define this (just take a look how it's done in the Java
editor for example). You should file a bug report against the Lunar
Eclipse plug-in.

Dani

>
> So far I've not found anything in the preferences that will do what I
> want - does anyone know another way to get it to work?
>
> Thanks,
>
> Tim
>
Previous Topic:Leopard SWT JPA Problem
Next Topic:Find the current caret position in a TextEditor
Goto Forum:
  


Current Time: Sun Nov 09 14:59:58 EST 2025

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

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

Back to the top