void draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
null. In this case the strategy must invalidate enough of the text widget's client area to cover any decoration drawn in drawing mode. This can usually be accomplished by calling textWidget.redrawRange(offset, length, true).
annotation- the annotation to be drawn
gc- the graphics context,
nullwhen in clearing mode
textWidget- the text widget to draw on
offset- the offset of the line
length- the length of the line
color- the color of the line
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.