IEditorPart editorPart = this.getActiveEditor();
if (editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) {
return false;
}
ITextEditor textEditor = (ITextEditor) editorPart;
return textEditor.showsHighlightRangeOnly();
}
public void showHighlightRangeOnly(boolean showHighlightRangeOnly) {
IEditorPart editorPart = this.getActiveEditor();
if (editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) {