Tracking cursor / current line in StyledText [message #336786] |
Thu, 02 July 2009 11:06  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02675 seconds