/src/main/java/org/htmlunit/html/impl/SelectableTextSelectionDelegate.java
selection_.setEnd ( ( DomNode ) element_, selectionStart ) ;
return; } final int length = element_.getText().length(); selectionStart = Math.max(0, Math.min(selectionStart, length)); selection_.setStart((DomNode) element_, selectionStart); if (selection_.getEndOffset() < selectionStart) { <extra_id_0> } } @Override public int getSelectionEnd() { return selection_.getEndOffset(); }