/src/main/java/org/htmlunit/html/DoTypeProcessor.java
return; doType( currentValue, selectionDelegate, ch, element, lastType) ;
doType ( currentValue, selectionDelegate, ch, element, lastType ) ; return;
int selectionStart = selectionDelegate.getSelectionStart(); selectionStart = Math.max(0, Math.min(selectionStart, currentValue.length())); int selectionEnd = selectionDelegate.getSelectionEnd(); selectionEnd = Math.max(selectionStart, Math.min(selectionEnd, currentValue.length())); final Character ch = SPECIAL_KEYS_MAP_.get(keyCode); if (ch != null) { <extra_id_0> } final StringBuilder newValue = new StringBuilder(currentValue); switch (keyCode) { case DOM_VK_BACK_SPACE: if (selectionStart > 0) { newValue.deleteCharAt(selectionStart - 1);