mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-08 16:10:34 +00:00
fixed: infinite loop due to undo edge case
This commit is contained in:
1 parent
608642fc25
commit
7dcec9afcf
1 file changed
+3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user