Fix typo rawr

Change-Id: Ib80b5e62aa4053c070ebdd065f327b54a30dc90f
This commit is contained in:
Catrope 2012-06-14 16:56:57 -07:00
parent a57be133fb
commit 884e107a24

View file

@ -251,8 +251,8 @@ ve.dm.TransactionProcessor.processors.replace = function( op ) {
// Update the linear model for this insert
ve.batchSplice( this.document.data, this.cursor, opRemove.length, opInsert );
affectedRanges.push( new ve.Range(
this.cursor - this.adjusment,
this.cursor - this.adjusment + opRemove.length
this.cursor - this.adjustment,
this.cursor - this.adjustment + opRemove.length
) );
prevCursor = this.cursor;
this.cursor += opInsert.length;