text-buffer
Advanced tools
Comparing version 0.12.0 to 0.13.0
@@ -167,2 +167,10 @@ (function() { | ||
Range.prototype.intersectsRowRange = function(startRow, endRow) { | ||
var _ref; | ||
if (startRow > endRow) { | ||
_ref = [endRow, startRow], startRow = _ref[0], endRow = _ref[1]; | ||
} | ||
return this.end.row >= startRow && endRow >= this.start.row; | ||
}; | ||
Range.prototype.union = function(otherRange) { | ||
@@ -169,0 +177,0 @@ var end, start; |
{ | ||
"name": "text-buffer", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"description": "A container for large mutable strings with annotated regions", | ||
@@ -5,0 +5,0 @@ "main": "./lib/text-buffer", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62177
1619