(doc, sel)
| 2205 | } |
| 2206 | |
| 2207 | function setSelectionInner(doc, sel) { |
| 2208 | if (sel.equals(doc.sel)) return; |
| 2209 | |
| 2210 | doc.sel = sel; |
| 2211 | |
| 2212 | if (doc.cm) { |
| 2213 | doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true; |
| 2214 | signalCursorActivity(doc.cm); |
| 2215 | } |
| 2216 | signalLater(doc, "cursorActivity", doc); |
| 2217 | } |
| 2218 | |
| 2219 | // Verify that the selection does not partially select any atomic |
| 2220 | // marked ranges. |
no test coverage detected