IEditorPart editorPart = this.getActiveEditor();
if (editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) {
return;
}
ITextEditor textEditor = (ITextEditor) editorPart;
textEditor.resetHighlightRange();
}
public ISelectionProvider getSelectionProvider() {
IEditorPart editorPart = this.getActiveEditor();
if (editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) {