(doc, sel)
| 2108 | } |
| 2109 | |
| 2110 | function setSelectionInner(doc, sel) { |
| 2111 | if (sel.equals(doc.sel)) return; |
| 2112 | |
| 2113 | doc.sel = sel; |
| 2114 | |
| 2115 | if (doc.cm) { |
| 2116 | doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true; |
| 2117 | signalCursorActivity(doc.cm); |
| 2118 | } |
| 2119 | signalLater(doc, "cursorActivity", doc); |
| 2120 | } |
| 2121 | |
| 2122 | // Verify that the selection does not partially select any atomic |
| 2123 | // marked ranges. |
no test coverage detected