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