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