/src/main/java/org/htmlunit/html/impl/SimpleRange.java
start = n;
start = startContainer_;
} } private void deleteContents(final DomNode ancestor) { final DomNode start; final DomNode end; if (isOffsetChars(startContainer_)) { <extra_id_0> String text = getText(start); if (startOffset_ > -1 && startOffset_ < text.length()) { text = text.substring(0, startOffset_); } setText(start, text); }