/src/main/java/org/htmlunit/html/impl/SimpleRange.java
text = text.substring( endOffset_) ; if ( endOffset_ > -1 && endOffset_ < text.length( ) ) {String text = getText( end) ;
String text = getText ( end ) ; if ( endOffset_ > -1 && endOffset_ < text.length ( ) ) { text = text.substring ( endOffset_ ) ;
} else { start = startContainer_.getNextSibling(); } if (isOffsetChars(endContainer_)) { end = endContainer_; <extra_id_0> } setText(end, text); } else if (endContainer_.getChildNodes().getLength() > endOffset_) { end = (DomNode) endContainer_.getChildNodes().item(endOffset_); }