Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Notification of caret movement?
Notification of caret movement? [message #290906] Fri, 02 September 2005 18:18 Go to next message
Mark McIntyre is currently offline Mark McIntyreFriend
Messages: 13
Registered: July 2009
Junior Member
I'd like to be notified when the caret moves in an Eclipse editor. An
ISelectionListener doesn't seem to do the trick (it only notifies me of
selection changes where the selection length isn't 0). Is there anything
in particular I should be looking for?

M
Re: Notification of caret movement? [message #290909 is a reply to message #290906] Fri, 02 September 2005 18:40 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Mark" <orangenormal@gmail.com> wrote in message
news:dfa51r$e0k$1@news.eclipse.org...
> I'd like to be notified when the caret moves in an Eclipse editor. An
> ISelectionListener doesn't seem to do the trick (it only notifies me of
> selection changes where the selection length isn't 0). Is there anything
> in particular I should be looking for?
>
Try
((TextViewer)sourceViewer).addPostSelectionChangedListener(I SelectionChangedListener)

---
Sunil
Previous Topic:"Could not launch the configuration"
Next Topic:plugin customization to default update schedule enabled
Goto Forum:
  


Current Time: Thu Apr 25 19:59:28 GMT 2024

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

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

Back to the top