(array)
| 4828 | // Pop all selection events off the end of a history array. Stop at |
| 4829 | // a change event. |
| 4830 | function clearSelectionEvents(array) { |
| 4831 | while (array.length) { |
| 4832 | var last = lst(array); |
| 4833 | if (last.ranges) { array.pop(); } |
| 4834 | else { break } |
| 4835 | } |
| 4836 | } |
| 4837 | |
| 4838 | // Find the top change event in the history. Pop off selection |
| 4839 | // events that are in the way. |
no test coverage detected