(ranges, primIndex)
| 1915 | // which one is the primary selection (the one that's scrolled into |
| 1916 | // view, that getCursor returns, etc). |
| 1917 | function Selection(ranges, primIndex) { |
| 1918 | this.ranges = ranges; |
| 1919 | this.primIndex = primIndex; |
| 1920 | } |
| 1921 | |
| 1922 | Selection.prototype = { |
| 1923 | primary: function() { return this.ranges[this.primIndex]; }, |
nothing calls this directly
no outgoing calls
no test coverage detected