public static final class AnnotationPainter.HighlightingStrategy extends Object implements AnnotationPainter.ITextStyleStrategy
Constructor and Description |
---|
HighlightingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
applyTextStyle(StyleRange styleRange,
Color annotationColor)
Applies a text style on the given
StyleRange . |
public void applyTextStyle(StyleRange styleRange, Color annotationColor)
AnnotationPainter.ITextStyleStrategy
StyleRange
.applyTextStyle
in interface AnnotationPainter.ITextStyleStrategy
styleRange
- the style range on which to apply the text styleannotationColor
- the color of the annotation
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.