Text highlighting in custom editor [message #198408] |
Thu, 08 March 2007 09:48 |
Eclipse User |
|
|
|
Originally posted by: boutter.ps.uni-sb.de
Hi folks,
I'm new to the group and I hope the question isn't arising every other day.
I've built my custom editor for a simulation language. Now when
simulating the code from the editor in a separate View, I want to
highlight the relevant parts of the code in the editor when selecting
something in the View.
The problem is I don't know how to do the highlight part (e.g. put some
color under the text or something like this, very similar to the mark
occurences feature of Eclipse). It seems that it can be done with
Annotations, but I didn't find anything on how to do it.
If someone could help me or point me to an article or a tutorial how to
do this I would be very thankful.
Regards,
Chris
|
|
|
|
Powered by
FUDForum. Page generated in 0.08549 seconds