/src/main/java/org/htmlunit/html/impl/SelectableTextSelectionDelegate.java
element_.getText( ) ;
element_.focus ( ) ;
private final SimpleRange selection_; public SelectableTextSelectionDelegate(final SelectableTextInput element) { element_ = element; selection_ = new SimpleRange((DomNode) element, 0); } public void select() { <extra_id_0> setSelectionStart(0); setSelectionEnd(element_.getText().length()); } public String getSelectedText() { return selection_.toString(); }