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 11:06 Go to next message
Pepe Ciardelli is currently offline Pepe Ciardelli
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 10:42 Go to previous message
Dani Megert is currently offline Dani Megert
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:qualifier replacement in site.xml
Next Topic:remove toolbar/menu entries contributed by other plugins
Goto Forum:
  


Current Time: Fri Apr 18 14:25:19 EDT 2014

Powered by FUDForum. Page generated in 0.01857 seconds