()
| 3182 | if (!ie || ie_upto8) prepareSelectAllHack(); |
| 3183 | clearTimeout(detectingSelectAll); |
| 3184 | var i = 0, poll = function() { |
| 3185 | if (display.selForContextMenu == cm.doc.sel && display.input.selectionStart == 0) |
| 3186 | operation(cm, commands.selectAll)(cm); |
| 3187 | else if (i++ < 10) detectingSelectAll = setTimeout(poll, 500); |
| 3188 | else resetInput(cm); |
| 3189 | }; |
| 3190 | detectingSelectAll = setTimeout(poll, 200); |
| 3191 | } |
| 3192 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…