Closed fronx closed 10 years ago
Okay, I went through all instances of comparisons involving a
and b
, and it looks like (at least) most Region
s can't have been based on reverse selections. The only case I'm not sure about is is_js_file
.
I haven't been able to construct a case where this is an issue. Sorry for the noise.
Some of these are not logically sane -- when getting regions from a selection, it should pick a max/min rather than assuming .a < .b. See attached patch.
@marijnh Oooh, very cool. :]
The plugin is unaware of the fact that a
Region
'sa
is not necessarily a lower number than itsb
. For reverse selections,a > b
holds. (Ignoring the=
case here, since it doesn't make a difference.)Is this worth fixing?