(doc, anchor, head, options)
| 2154 | |
| 2155 | // Reset the selection to a single range. |
| 2156 | function setSimpleSelection(doc, anchor, head, options) { |
| 2157 | setSelection(doc, simpleSelection(anchor, head), options); |
| 2158 | } |
| 2159 | |
| 2160 | // Give beforeSelectionChange handlers a change to influence a |
| 2161 | // selection update. |
no test coverage detected