(ranges, primIndex)
| 6278 | // which one is the primary selection (the one that's scrolled into |
| 6279 | // view, that getCursor returns, etc). |
| 6280 | var Selection = function (ranges, primIndex) { |
| 6281 | this.ranges = ranges |
| 6282 | this.primIndex = primIndex |
| 6283 | } |
| 6284 | |
| 6285 | Selection.prototype.primary = function () { |
| 6286 | return this.ranges[this.primIndex] |
nothing calls this directly
no outgoing calls
no test coverage detected