(doc, head, other, options)
| 1080 | |
| 1081 | // Extend the primary selection range, discard the rest. |
| 1082 | function extendSelection(doc, head, other, options) { |
| 1083 | setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options); |
| 1084 | } |
| 1085 | |
| 1086 | // Extend all selections (pos is an array of selections with length |
| 1087 | // equal the number of selections) |
no test coverage detected
searching dependent graphs…