mediawiki-extensions-Visual.../modules/ve/test
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
..
actions Create tests for ve.FormatAction.convert 2013-02-22 11:52:12 -08:00
ce Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
dm Make translateRange() translate across wrapping transactions correctly 2013-02-22 17:33:31 -08:00
init Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.php Introduction of ve.ce.RangyRange class. 2013-02-22 17:02:42 -08:00
ve.BranchNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.example.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.LeafNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Node.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.qunit.js Added tests and fixed inconsistencies for empty text node handling 2013-01-29 15:13:17 -08:00
ve.Range.test.js Add ve.Range.prototype.isBackwards() 2013-02-22 17:33:23 -08:00
ve.test.js Make ve.copyArray() / copyObject() work with booleans 2013-02-20 09:30:09 -08:00
ve.Trigger.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00