(doc, anchor, head, options)
| 2159 | |
| 2160 | // Reset the selection to a single range. |
| 2161 | function setSimpleSelection(doc, anchor, head, options) { |
| 2162 | setSelection(doc, simpleSelection(anchor, head), options); |
| 2163 | } |
| 2164 | |
| 2165 | // Give beforeSelectionChange handlers a change to influence a |
| 2166 | // selection update. |
no test coverage detected