mediawiki-extensions-Visual.../modules/ve/test/dm
Catrope 1a4c60ed17 Make translateRange() translate across wrapping transactions correctly
Previously, we would translate to the right of an insertion, but for
wrapping transactions that means we end up with something like
<ul><li>|<p>...</p></li></ul>|, which doesn't make any sense. This
change changes this to <ul><li>|<p>...</p>|</li></ul>.

* Add parameter to translateOffset() that toggles the behavior for
  the offset before an insertion
* In translateRange(), translate start and end differently
** In some cases this can map them across each other, fix that

Change-Id: Ia2197b08d9f6763be3f2db5a59546ddc3f74a281
2013-02-22 17:33:31 -08:00
..
nodes Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.BranchNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.Converter.test.js (bug 45062) Implement the new node API in the converter 2013-02-22 15:21:40 -08:00
ve.dm.Document.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.DocumentSynchronizer.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.example.js Merge "(bug 45062) Implement the new node API in the converter" 2013-02-22 23:26:18 +00:00
ve.dm.LeafNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.ModelRegistry.test.js Make string type matches override regex type matches 2013-02-22 15:21:40 -08:00
ve.dm.Node.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.NodeFactory.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.Surface.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.SurfaceFragment.test.js Implement SurfaceFragment.unwrapAllNodes and fix wrapAllNodes. 2013-02-22 13:37:42 -08:00
ve.dm.Transaction.test.js Make translateRange() translate across wrapping transactions correctly 2013-02-22 17:33:31 -08:00
ve.dm.TransactionProcessor.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00