/src/main/java/org/htmlunit/html/DoTypeProcessor.java
if ( clipboardHandler != null) {   final String content = clipboardHandler.getClipboardContent( ) ;   add( newValue, content, selectionStart, selectionEnd) ;   selectionStart += content.length( ) ;   selectionEnd = selectionStart; }
[Delete]
final String content = newValue.substring(selectionStart, selectionEnd); clipboardHandler.setClipboardContent(content); newValue.delete(selectionStart, selectionEnd); selectionEnd = selectionStart; } } <extra_id_0> selectionStart = 0; selectionEnd = newValue.length(); } else { add(newValue, c, selectionStart, selectionEnd); selectionStart++;