(ranges, primIndex)
| 2011 | // which one is the primary selection (the one that's scrolled into |
| 2012 | // view, that getCursor returns, etc). |
| 2013 | function Selection(ranges, primIndex) { |
| 2014 | this.ranges = ranges; |
| 2015 | this.primIndex = primIndex; |
| 2016 | } |
| 2017 | |
| 2018 | Selection.prototype = { |
| 2019 | primary: function() { return this.ranges[this.primIndex]; }, |
nothing calls this directly
no outgoing calls
no test coverage detected