()
| 3146 | if (!ie || ie_upto8) prepareSelectAllHack(); |
| 3147 | clearTimeout(detectingSelectAll); |
| 3148 | var i = 0, poll = function(){ |
| 3149 | if (display.prevInput == "\u200b" && display.input.selectionStart == 0) |
| 3150 | operation(cm, commands.selectAll)(cm); |
| 3151 | else if (i++ < 10) detectingSelectAll = setTimeout(poll, 500); |
| 3152 | else resetInput(cm); |
| 3153 | }; |
| 3154 | detectingSelectAll = setTimeout(poll, 200); |
| 3155 | } |
| 3156 | } |
nothing calls this directly
no test coverage detected