Lines Matching refs:oNode
516 var oNode, oSibling ;
529 oNode = this._Range.startContainer ;
531 if ( oNode.nodeType != 1 )
532 oNode = oNode.previousSibling ? null : oNode.parentNode ;
534 if ( oNode )
536 while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] )
538 this._Range.setStartBefore( oNode ) ;
540 if ( oNode != oNode.parentNode.firstChild )
543 oNode = oNode.parentNode ;
549 oNode = this._Range.endContainer ;
552 …oNode.nodeType == 3 && offset >= oNode.nodeValue.length ) || ( oNode.nodeType == 1 && offset >= oN…
554 if ( oNode.nodeType != 1 )
555 oNode = oNode.nextSibling ? null : oNode.parentNode ;
557 if ( oNode )
559 while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] )
561 this._Range.setEndAfter( oNode ) ;
563 if ( oNode != oNode.parentNode.lastChild )
566 oNode = oNode.parentNode ;
584 oNode = this._Range.startContainer ;
587 if ( oNode.nodeType == 1 )
589 var lastNode = oNode.childNodes[ this._Range.startOffset ] ;
591 oNode = FCKDomTools.GetPreviousSourceNode( lastNode, true ) ;
593 oNode = oNode.lastChild || oNode ;
598 while ( oNode
599 && ( oNode.nodeType != 1
600 || ( oNode != this.StartBlockLimit
601 && !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) )
603 this._Range.setStartBefore( oNode ) ;
604 oNode = oNode.previousSibling || oNode.parentNode ;
612 oNode = this._Range.endContainer ;
613 if ( oNode.nodeType == 1 )
614 oNode = oNode.childNodes[ this._Range.endOffset ] || oNode.lastChild ;
618 while ( oNode
619 && ( oNode.nodeType != 1
620 || ( oNode != this.StartBlockLimit
621 && !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) )
623 this._Range.setEndAfter( oNode ) ;
624 oNode = oNode.nextSibling || oNode.parentNode ;
629 if ( oNode && oNode.nodeName.toLowerCase() == 'br' )
630 this._Range.setEndAfter( oNode ) ;