function isNonTextPartiallySelected(node, range) {
        return (node.nodeType != 3) &&
               (dom.isAncestorOf(node, range.startContainer, true) || dom.isAncestorOf(node, range.endContainer, true));
    }
function isNonTextPartiallySelected(node, range) {
        return (node.nodeType != 3) &&
               (dom.isAncestorOf(node, range.startContainer, true) || dom.isAncestorOf(node, range.endContainer, true));
    }
function isNonTextPartiallySelected ( node , range ) { return ( node . nodeType != 3 ) && ( dom . isAncestorOf ( node , range . startContainer , true ) || dom . isAncestorOf ( node , range . endContainer , true ) ) ; }
/*---------------------------------------------------------------------------------------------------------------- Utility functions
/ * ---------------------------------------------------------------------------------------------------------------- Utility functions