private void checkPaneSelection(@Nullable DocRenderer.EditorInlineHtmlPane pane) {
    if (pane != null && pane.hasSelection()) {
      mySelectionManager.setPaneWithSelection(pane);
    }
  }
private void checkPaneSelection(@Nullable DocRenderer.EditorInlineHtmlPane pane)