(doc, sel)
| 1136 | } |
| 1137 | |
| 1138 | function setSelectionInner(doc, sel) { |
| 1139 | if (sel.equals(doc.sel)) return; |
| 1140 | |
| 1141 | doc.sel = sel; |
| 1142 | |
| 1143 | if (doc.cm) |
| 1144 | doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = |
| 1145 | doc.cm.curOp.cursorActivity = true; |
| 1146 | signalLater(doc, "cursorActivity", doc); |
| 1147 | } |
| 1148 | |
| 1149 | // Verify that the selection does not partially select any atomic |
| 1150 | // marked ranges. |
no test coverage detected