()
| 3164 | // this adds a zero-width space so that we can later check whether |
| 3165 | // it got selected. |
| 3166 | function prepareSelectAllHack() { |
| 3167 | if (display.input.selectionStart != null) { |
| 3168 | var selected = cm.somethingSelected(); |
| 3169 | var extval = display.input.value = "\u200b" + (selected ? display.input.value : ""); |
| 3170 | display.prevInput = selected ? "" : "\u200b"; |
| 3171 | display.input.selectionStart = 1; display.input.selectionEnd = extval.length; |
| 3172 | } |
| 3173 | } |
| 3174 | function rehide() { |
| 3175 | display.inputDiv.style.position = "relative"; |
| 3176 | display.input.style.cssText = oldCSS; |
no outgoing calls
no test coverage detected
searching dependent graphs…