[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: M5 - Annotation Highlighting

Brian Svihovec wrote:

The "News and Noteworthy" list for M5 mentions that the Default Text editor
now supports annotation highlighting.  Are annotations only displayed for
markers that have been saved, or does the Default Text editor also provide a
way to create annotations on text that has not been saved (similar to the
annotations that appear in the JDT editor as you type)?

Thanks,
Brian



What do you mean with "markers that have been saved"?
To answer your question: Annotations are not bound to markers. Simply add the annotations to the AnnotationModel (see IAnnotationModel#addAnnotation).


Dani