Community
Participate
Working Groups
N20071005-0010. Platform Text is in the middle of moving away from its custom draw strategies and there is one missing piece: the I-beam strategy that is used to indicate the caret location when exiting linked mode. The I-beam is currently a vertical line on the left side of the given offset. The length is usually 0. The important thing is that we can also mark positions behind the last character of a line by using a style range with offset= last char + 1 and length= 0. Here's our code: org.eclipse.ui.texteditor.SourceViewerDecorationSupport.IBeamStrategy.draw(Annotation, GC, StyledText, int, int, Color)
A possible solution would be to let underline style with lenght 0 do this.
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Ping, is this still valid?