Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CaretListener
CaretListener [message #463634] Fri, 11 November 2005 09:20 Go to next message
Patrick Nepper is currently offline Patrick NepperFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

I am currently working on a small Eclipse plug-in and got stuck with the
following problem. I already tried finding the answer in the
documentation, books and google, but obviously I am looking for the wrong
thing.

Problem:
I want to listen to the caret's position in an Editor, but I cannot find
something like a CaretListener. All I need is to be updated when the
position of the caret within a editor changes.

Can somebody give me a hint on how to proceed?

Any help is appreciated!

Thank you,

Patrick
Re: CaretListener [message #463687 is a reply to message #463634] Fri, 11 November 2005 18:20 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

P. Nepper wrote:
> Hi,
>
> I am currently working on a small Eclipse plug-in and got stuck with
> the following problem. I already tried finding the answer in the
> documentation, books and google, but obviously I am looking for the
> wrong thing.
>
> Problem:
> I want to listen to the caret's position in an Editor, but I cannot
> find something like a CaretListener. All I need is to be updated when
> the position of the caret within a editor changes.
>
I use TextViewer.addPostSelectionListener() to listen for changes in the
caret position.

--
Sunil
Previous Topic:TreeViewer with columns?
Next Topic:[OT?] how to forward these news to an email address?
Goto Forum:
  


Current Time: Fri Apr 26 06:11:33 GMT 2024

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

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

Back to the top