/src/main/java/org/htmlunit/html/DoTypeProcessor.java
selectionDelegate.getSelectionStart( ) ;
selectionDelegate.setSelectionStart ( selectionStart ) ;
add(newValue, c, selectionStart, selectionEnd); selectionStart++; selectionEnd = selectionStart; } } typeDone(newValue.toString(), lastType); <extra_id_0> selectionDelegate.setSelectionEnd(selectionEnd); } private static void add(final StringBuilder newValue, final char c, final int selectionStart, final int selectionEnd) { if (selectionStart == newValue.length()) { newValue.append(c);