Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Tracking cursor / current line in StyledText
Tracking cursor / current line in StyledText [message #336786] Thu, 02 July 2009 15:06 Go to next message
Pepe Ciardelli is currently offline Pepe CiardelliFriend
Messages: 12
Registered: July 2009
Junior Member
Hi there,

When working with a StyledText / SourceViewer / TextEditor, what is the
most efficient way to receive notification when the cursor changes lines?
For instance, where is the notification for line background color fired?

Many thanks in advance for any help,
P
Re: Tracking cursor / current line in StyledText [message #336832 is a reply to message #336786] Mon, 06 July 2009 14:42 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
Pepe Ciardelli wrote:
> Hi there,
>
> When working with a StyledText / SourceViewer / TextEditor, what is
> the most efficient way to receive notification when the cursor changes
> lines? For instance, where is the notification for line background
> color fired?
In 3.5 you would use a org.eclipse.swt.custom.CaretListener.

Dani
>
> Many thanks in advance for any help,
> P
>
Previous Topic:plug-in jar remains same during uninstall and reinstall
Next Topic:Eclipse freezes after stopping at breakpoint in a static block
Goto Forum:
  


Current Time: Fri Aug 18 16:43:51 GMT 2017

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

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