1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 07:04:14 +01:00

Assertions yay.

This commit is contained in:
Kris Maglione
2011-10-25 18:06:14 -04:00
parent 952f41fc15
commit ee5f1a251c

View File

@@ -607,6 +607,7 @@ var RangeFind = Class("RangeFind", {
this.startRange.collapse(!this.reverse);
this.lastRange = this.selectedRange;
this.range = this.findRange(this.startRange);
util.assert(this.range);
this.ranges.first = this.range;
this.ranges.forEach(function (range) range.save());
this.forward = null;