(doc, sel)
| 6973 | } |
| 6974 | |
| 6975 | function setSelectionInner(doc, sel) { |
| 6976 | if (sel.equals(doc.sel)) { |
| 6977 | return |
| 6978 | } |
| 6979 | |
| 6980 | doc.sel = sel |
| 6981 | |
| 6982 | if (doc.cm) { |
| 6983 | doc.cm.curOp.updateInput = 1 |
| 6984 | doc.cm.curOp.selectionChanged = true |
| 6985 | signalCursorActivity(doc.cm) |
| 6986 | } |
| 6987 | signalLater(doc, "cursorActivity", doc) |
| 6988 | } |
| 6989 | |
| 6990 | // Verify that the selection does not partially select any atomic |
| 6991 | // marked ranges. |
no test coverage detected