mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-25 04:33:31 +01:00
Assertions yay.
This commit is contained in:
@@ -607,6 +607,7 @@ var RangeFind = Class("RangeFind", {
|
|||||||
this.startRange.collapse(!this.reverse);
|
this.startRange.collapse(!this.reverse);
|
||||||
this.lastRange = this.selectedRange;
|
this.lastRange = this.selectedRange;
|
||||||
this.range = this.findRange(this.startRange);
|
this.range = this.findRange(this.startRange);
|
||||||
|
util.assert(this.range);
|
||||||
this.ranges.first = this.range;
|
this.ranges.first = this.range;
|
||||||
this.ranges.forEach(function (range) range.save());
|
this.ranges.forEach(function (range) range.save());
|
||||||
this.forward = null;
|
this.forward = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user