(user)
| 868 | return true; |
| 869 | } |
| 870 | function resetInput(user) { |
| 871 | if (!posEq(sel.from, sel.to)) { |
| 872 | prevInput = ""; |
| 873 | input.value = getSelection(); |
| 874 | selectInput(input); |
| 875 | } else if (user) prevInput = input.value = ""; |
| 876 | } |
| 877 | |
| 878 | function focusInput() { |
| 879 | if (options.readOnly != "nocursor") input.focus(); |
no test coverage detected