(doc, sel)
| 5123 | } |
| 5124 | |
| 5125 | function setSelectionInner(doc, sel) { |
| 5126 | if (sel.equals(doc.sel)) { return } |
| 5127 | |
| 5128 | doc.sel = sel; |
| 5129 | |
| 5130 | if (doc.cm) { |
| 5131 | doc.cm.curOp.updateInput = 1; |
| 5132 | doc.cm.curOp.selectionChanged = true; |
| 5133 | signalCursorActivity(doc.cm); |
| 5134 | } |
| 5135 | signalLater(doc, "cursorActivity", doc); |
| 5136 | } |
| 5137 | |
| 5138 | // Verify that the selection does not partially select any atomic |
| 5139 | // marked ranges. |
no test coverage detected