/** * Adds all the children of the specified node to the selection. The previous selection is lost. * @param parentNode all children of parentNode will be selected; parentNode itself is not part of the selection */ public void jsxFunction_selectAllChildren(final Node parentNode) { final Range selection = getPageSelection(); selection.selectNodeContents(parentNode.getDomNodeOrDie()); }
/** * Adds all the children of the specified node to the selection. The previous selection is lost. * @param parentNode all children of parentNode will be selected; parentNode itself is not part of the selection */ public void jsxFunction_selectAllChildren(final Node parentNode) { final Range selection = getPageSelection(); selection.selectNodeContents(parentNode.getDomNodeOrDie()); }
/** * Adds all the children of the specified node to the selection. The previous selection is lost. * @param parentNode all children of parentNode will be selected; parentNode itself is not part of the selection */ public void jsxFunction_selectAllChildren(final Node parentNode) { final Range selection = getPageSelection(); selection.selectNodeContents(parentNode.getDomNodeOrDie()); }