fixed: infinite loop due to undo edge case

This commit is contained in:
daboe01 committed 2016-09-14 22:20:33 +02:00
1 parent 608642fc25
commit 7dcec9afcf
1 file changed
+3
+3
View File
@@ -1158,6 +1158,9 @@ var _objectsInRange = function(aList, aRange)
run = {_range:CPMakeRangeCopy(effectiveRange), color:color, font:font, elem:nil, string:string};
_runs.push(run);
if (!CPMaxRange(effectiveRange))
break;
}
}