mediawiki-extensions-Visual.../modules/ve/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
..
annotations Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
nodes Add MWMetaNode to clean up <meta>/<link> hack in the converter 2013-02-22 15:21:40 -08:00
ve.dm.Annotation.js Support RDFa type regexes in ModelRegistry 2013-02-22 15:21:40 -08:00
ve.dm.AnnotationFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.Converter.js Change one last .storeHTMLAttributes to .storeHtmlAttributes 2013-02-22 16:13:47 -08:00
ve.dm.Document.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.DocumentSlice.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.DocumentSynchronizer.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.ModelRegistry.js Make string type matches override regex type matches 2013-02-22 15:21:40 -08:00
ve.dm.Node.js Merge "Support RDFa type regexes in ModelRegistry" 2013-02-22 23:26:21 +00:00
ve.dm.NodeFactory.js Add .static.storeHtmlAttributes 2013-02-22 15:21:31 -08:00
ve.dm.Surface.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.SurfaceFragment.js Implement SurfaceFragment.unwrapAllNodes and fix wrapAllNodes. 2013-02-22 13:37:42 -08:00
ve.dm.Transaction.js Make translateRange() translate across wrapping transactions correctly 2013-02-22 17:33:31 -08:00
ve.dm.TransactionProcessor.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00