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