public void removeSelection() {
    Editor editor = getEditor();
    if (editor != null) {
      editor.getSelectionModel().removeSelection();
    }
    else {
      deferredSelection = DeferredSelection.None.getInstance();
    }
  }
public void removeSelection()