Skip to main content


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: 3802
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: Thu Mar 28 21:34:37 GMT 2024

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

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

Back to the top