mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Fix typo rawr
Change-Id: Ib80b5e62aa4053c070ebdd065f327b54a30dc90f
This commit is contained in:
parent
a57be133fb
commit
884e107a24
|
@ -251,8 +251,8 @@ ve.dm.TransactionProcessor.processors.replace = function( op ) {
|
||||||
// Update the linear model for this insert
|
// Update the linear model for this insert
|
||||||
ve.batchSplice( this.document.data, this.cursor, opRemove.length, opInsert );
|
ve.batchSplice( this.document.data, this.cursor, opRemove.length, opInsert );
|
||||||
affectedRanges.push( new ve.Range(
|
affectedRanges.push( new ve.Range(
|
||||||
this.cursor - this.adjusment,
|
this.cursor - this.adjustment,
|
||||||
this.cursor - this.adjusment + opRemove.length
|
this.cursor - this.adjustment + opRemove.length
|
||||||
) );
|
) );
|
||||||
prevCursor = this.cursor;
|
prevCursor = this.cursor;
|
||||||
this.cursor += opInsert.length;
|
this.cursor += opInsert.length;
|
||||||
|
|
Loading…
Reference in a new issue