Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » To add to standart Java editor highlightings functions.
To add to standart Java editor highlightings functions. [message #116579] Wed, 12 November 2003 23:44 Go to next message
Eclipse UserFriend
Originally posted by: Mewmar.ukr.net

I need to highlight some variables in Java editor by background
color. This highlighting must take place, when user clicked on the
word. What extention points should I use? What should I start with?
Where can I read something about this? Thanks!
Re: To add to standart Java editor highlightings functions. [message #116621 is a reply to message #116579] Thu, 13 November 2003 05:11 Go to previous message
Eclipse UserFriend
Starting with the newest builds, you could add Annotations to the
document being edited and configure them to be shown as background
highlighting. See AnnotationPreference::getHighlightPreferenceKey().

To get informed when the caret position in the editor changes, have a
look at IPostSelectionProvider.

-tom

Mew wrote:

> I need to highlight some variables in Java editor by background
> color. This highlighting must take place, when user clicked on the
> word. What extention points should I use? What should I start with?
> Where can I read something about this? Thanks!
>
>
>
Previous Topic:"bin" folder missing?
Next Topic:how to tell eclipse not to show warning messages in console when compiling
Goto Forum:
  


Current Time: Sat Jun 07 16:58:14 EDT 2025

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

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

Back to the top