void setPaneWithSelection(DocRenderer.EditorInlineHtmlPane pane) {
    if (pane != myPaneWithSelection) {
      if (myPaneWithSelection != null) {
        myPaneWithSelection.removeSelection();
      }
      myPaneWithSelection = pane;
      if (myPaneWithSelection != null) {
        mySkipSelectionEvents = true;
        try {
          myEditor.getSelectionModel().removeSelection(true);
        }
        finally {
          mySkipSelectionEvents = false;
        }
      }
    }
  }
void setPaneWithSelection(DocRenderer.EditorInlineHtmlPane pane)