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