(user)
| 1068 | return true; |
| 1069 | } |
| 1070 | function resetInput(user) { |
| 1071 | if (!posEq(sel.from, sel.to)) { |
| 1072 | prevInput = ""; |
| 1073 | input.value = getSelection(); |
| 1074 | selectInput(input); |
| 1075 | } else if (user) prevInput = input.value = ""; |
| 1076 | } |
| 1077 | |
| 1078 | function focusInput() { |
| 1079 | if (options.readOnly != "nocursor") input.focus(); |
no test coverage detected