mediawiki-extensions-Visual.../modules/ve2/dm
Catrope ca17ea0943 Port structural replace code from the old VE code
This makes TransactionProcessor work for regular replacements, as well
as insertions and deletions of self-contained pieces of data. This does
NOT yet work for inserting and deleting unbalanced data
(splitting/merging nodes).

I've tested this from the console for insertions and deletions and
simple replacements, but I haven't tested wrappings. We should write a
bunch of unit tests for this some time :)

Change-Id: Ic2fd75d1cf2e127bc9ae58debce67576be2c912f
2012-05-10 20:20:42 -07:00
..
nodes Add an isWrapped property and make getOuterLength use it 2012-05-07 12:00:07 -07:00
ve.dm.BranchNode.js Massive refactor of node trees, generalizing lots of previously dm only stuff 2012-05-09 21:11:09 -07:00
ve.dm.Document.js Ported isContentOffset, isStructuralOffset, isElementData, containsElementData and getRelativeContentOffset 2012-05-10 17:20:57 -07:00
ve.dm.DocumentFragment.js Throw an exception when DocumentFragment gets unbalanced input 2012-05-10 20:20:42 -07:00
ve.dm.DocumentSynchronizer.js Use index and indexFromNode (from selectNodes()) in DocumentSynchronizer 2012-05-10 20:20:42 -07:00
ve.dm.HTMLConverter.js Basic support for Alien node in HTMLDom -> LinMod converter 2012-05-09 23:04:57 -07:00
ve.dm.js Added basic ve.ce nodes 2012-04-30 16:58:41 -07:00
ve.dm.LeafNode.js Added basic ve.ce nodes 2012-04-30 16:58:41 -07:00
ve.dm.Node.js Massive refactor of node trees, generalizing lots of previously dm only stuff 2012-05-09 21:11:09 -07:00
ve.dm.NodeFactory.js Massive refactor of node trees, generalizing lots of previously dm only stuff 2012-05-09 21:11:09 -07:00
ve.dm.Surface.js Fixes for Roan's crazy half-baked commit 2012-05-04 16:13:54 -07:00
ve.dm.Transaction.js Added basic ve.ce nodes 2012-04-30 16:58:41 -07:00
ve.dm.TransactionProcessor.js Port structural replace code from the old VE code 2012-05-10 20:20:42 -07:00