()
| 2255 | if (!ie || ie_lt9) prepareSelectAllHack(); |
| 2256 | clearTimeout(detectingSelectAll); |
| 2257 | var i = 0, poll = function(){ |
| 2258 | if (display.prevInput == "\u200b" && display.input.selectionStart == 0) |
| 2259 | operation(cm, commands.selectAll)(cm); |
| 2260 | else if (i++ < 10) detectingSelectAll = setTimeout(poll, 500); |
| 2261 | else resetInput(cm); |
| 2262 | }; |
| 2263 | detectingSelectAll = setTimeout(poll, 200); |
| 2264 | } |
| 2265 | } |
nothing calls this directly
no test coverage detected