提交 c94bac4e 编写于 作者: A Alex Dima

Fixes #3980: relax overlapping operations check in cursor.ts

上级 5704f0d6
......@@ -601,7 +601,7 @@ export class Cursor extends EventEmitter {
previousOp = operations[i - 1];
currentOp = operations[i];
if (previousOp.range.getStartPosition().isBeforeOrEqual(currentOp.range.getEndPosition())) {
if (previousOp.range.getStartPosition().isBefore(currentOp.range.getEndPosition())) {
if (previousOp.identifier.major > currentOp.identifier.major) {
// previousOp loses the battle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册