Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » which class implements the "mark occurences in file" option
which class implements the "mark occurences in file" option [message #151706] Wed, 31 March 2004 00:24 Go to next message
Eclipse UserFriend
Originally posted by: ximor_iksivich.lycos.co.uk

Hi,
I would like to know which class implements the "mark occurences in
file" option in the java editor. I have searched qutie a bit but can't
find it. I specifically want to find the piece of code that does the
background highlighting when the mark occurences -> stick option is turned
on in the java editor. I undestand that it is done through annotations but
I would like to know where it is implemented and which class holds the
annotation. I use eclipse 3.0 M8

Thanks,
Ximor
Re: which class implements the "mark occurences in file" option [message #151798 is a reply to message #151706] Wed, 31 March 2004 06:45 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

ximor wrote:

>Hi,
> I would like to know which class implements the "mark occurences in
>file" option in the java editor. I have searched qutie a bit but can't
>find it. I specifically want to find the piece of code that does the
>background highlighting when the mark occurences -> stick option is turned
>on in the java editor. I undestand that it is done through annotations but
>I would like to know where it is implemented and which class holds the
>annotation. I use eclipse 3.0 M8
>
>

The occurrence finder stuff (computing and creating the annotations) is
done in JavaEditor.java
AnnotationPainter does the background highlighting
If you simply want to apply some styles (e.g. background colour) then
ITextPresentationListener is your friend.

HTH
Dani

>Thanks,
>Ximor
>
>
>
>
>
Previous Topic:M8: lost "Content Assist" key
Next Topic:Contributing actions to the Menu Bar
Goto Forum:
  


Current Time: Sun May 04 08:41:45 EDT 2025

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

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

Back to the top