Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » AbstractTextEditor "Listener"
AbstractTextEditor "Listener" [message #175242] Fri, 02 January 2004 16:28 Go to next message
Eclipse UserFriend
Hi!

Im trying to listen for the current line under the cursor in std.
TextEditors, but i cannot find an api-call to register for such events.

The line and column that are shown at the statusline of the workbench
seem not to listen for events but to be set in the AbstractTextEditor.

Is there a way to listen for the current line (and by the way for the
current visible area) of the texteditor?

regards,

christian koestlin
Re: AbstractTextEditor "Listener" [message #176152 is a reply to message #175242] Tue, 06 January 2004 03:59 Go to previous message
Eclipse UserFriend
see PostSelectionProvider (but note that you only get PostSelection
events after a delay when typing).

-tom

Christian Köstlin wrote:
> Hi!
>
> Im trying to listen for the current line under the cursor in std.
> TextEditors, but i cannot find an api-call to register for such events.
>
> The line and column that are shown at the statusline of the workbench
> seem not to listen for events but to be set in the AbstractTextEditor.
>
> Is there a way to listen for the current line (and by the way for the
> current visible area) of the texteditor?
>
> regards,
>
> christian koestlin
Previous Topic:Shift-Space in 3.0M6 now runs an assistant instead of giving a space. How to disable?
Next Topic:Dropping external files to an EditorArea
Goto Forum:
  


Current Time: Sun Nov 09 15:04:46 EST 2025

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

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

Back to the top