Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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 25 01:26:54 EDT 2025

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

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

Back to the top