1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-15 23:13:34 +01:00

Register support with a crude kill ring.

This commit is contained in:
Kris Maglione
2011-10-06 01:02:11 -04:00
parent 09a3bfcaac
commit 1b781416c9
10 changed files with 255 additions and 50 deletions

View File

@@ -819,7 +819,7 @@ var RangeFind = Class("RangeFind", {
let start = a.compareBoundaryPoints(a.START_TO_START, b) < 0 ? a : b;
let end = a.compareBoundaryPoints(a.END_TO_END, b) > 0 ? a : b;
let res = start.cloneRange();
res.setEnd(end.startContainer, end.endOffset);
res.setEnd(end.endContainer, end.endOffset);
return res;
}
});