r103484 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103483‎ | r103484 | r103485 >
Date:18:16, 17 November 2011
Author:tparscal
Status:ok
Tags:
Comment:
Fix for r103479 - had sign backwards! :(
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js
@@ -190,7 +190,7 @@
191191 this.applyAnnotations( this.cursor + op.data.length );
192192 node = this.model.getNodeFromOffset( this.cursor );
193193 offset = this.model.getOffsetFromNode( node );
194 - index = node.getIndexFromOffset( this.cursor + offset );
 194+ index = node.getIndexFromOffset( this.cursor - offset );
195195 this.rebuildNodes( op.data, null, node, index );
196196 } else {
197197 node = this.model.getNodeFromOffset( this.cursor );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103479Fix for issue identified in review of r103377 - this will make it so insertio...tparscal18:05, 17 November 2011

Status & tagging log