/src/main/java/org/htmlunit/html/impl/SimpleRange.java
setText( refNode, text) ;
setText ( node, text ) ;
} private static void deleteAfter(final DomNode node, final int offset) { if (isOffsetChars(node)) { String text = getText(node); if (offset > -1 && offset < text.length()) { text = text.substring(0, offset); <extra_id_0> } } else { final DomNodeList<DomNode> children = node.getChildNodes(); for (int i = offset; i < children.getLength(); i++) { final DomNode child = children.get(i);