Cursor position of SimpleEditor or text drag & drop [message #453258] |
Tue, 25 July 2006 06:28 |
Eclipse User |
|
|
|
Originally posted by: hald.icandy.de
Hi,
I've written a Editor extending SimpleEditor. Is there a possibility to
get the current text cursor position? Or even better, is it possible to
get the position in the text where I dropped something?
What I want to achieve is something like a tree view from where I could
drag text blocks to the editor.
Any help would be very much appreciated.
Best regards
Conny
|
|
|
|
Re: Cursor position of SimpleEditor or text drag & drop [message #453263 is a reply to message #453261] |
Tue, 25 July 2006 09:28 |
Eclipse User |
|
|
|
Originally posted by: hald.icandy.de
Tom Eicher wrote:
> Cornelius Hald wrote:
>> I've written a Editor extending SimpleEditor. Is there a possibility to
>> get the current text cursor position? Or even better, is it possible to
>> get the position in the text where I dropped something?
>> What I want to achieve is something like a tree view from where I could
>> drag text blocks to the editor.
>
> @see ITextEditor#getSelectionProvider()
Ok, thanks, it's working now!
|
|
|
Powered by
FUDForum. Page generated in 0.03600 seconds