(doc, anchor, head, options)
| 2058 | |
| 2059 | // Reset the selection to a single range. |
| 2060 | function setSimpleSelection(doc, anchor, head, options) { |
| 2061 | setSelection(doc, simpleSelection(anchor, head), options); |
| 2062 | } |
| 2063 | |
| 2064 | // Give beforeSelectionChange handlers a change to influence a |
| 2065 | // selection update. |
no test coverage detected