mediawiki-extensions-Visual.../modules/ve/dm
Ed Sanders 60cf31bcb6 Allow fixUpInsertion to move offsets when inserting at start/end
fixUpInsertion now returns an object with both data and offset
which allows offset changes.

Within fixUpInsertion we lazy-generate first/lastChildStack which
is a list of parent nodes for which the current node is the first/last
child. Whenever we try to close off a node we check these stacks and
if they are populated we instead use a recursive call to start
fixUpInsertion again but with the offset shifted by 1.

Bug: 46799

Change-Id: Ic51dd03725c11f1f7e279929534ee3afea14d662
2013-04-26 22:52:27 +00:00
..
annotations Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
lineardata Add method to ElementLinearData to get IVStore items in use 2013-04-25 22:40:56 +01:00
metaitems Fixes to DM metaList stuff under Roan's guidance. 2013-04-11 14:49:17 -07:00
nodes Add TableCaptionNode 2013-04-26 14:09:54 -07:00
ve.dm.Annotation.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.AnnotationFactory.js Convert AnnotationFactory and MetaItemFactory to NamedClassFactories 2013-04-09 12:05:05 -07:00
ve.dm.AnnotationSet.js Further AnnotationSet optimisation: create containsIndex 2013-04-25 22:55:43 +01:00
ve.dm.BranchNode.js
ve.dm.Converter.js Further AnnotationSet optimisation: create containsIndex 2013-04-25 22:55:43 +01:00
ve.dm.DataString.js
ve.dm.Document.js Allow fixUpInsertion to move offsets when inserting at start/end 2013-04-26 22:52:27 +00:00
ve.dm.DocumentSlice.js
ve.dm.DocumentSynchronizer.js Deduplicate childUpdate events based on transaction and appliedness 2013-04-25 17:08:30 -07:00
ve.dm.IndexValueStore.js
ve.dm.InternalList.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.dm.js
ve.dm.LeafNode.js
ve.dm.LinearData.js
ve.dm.MetaItem.js Transactions to store metadata merge info when present 2013-04-16 22:26:56 +01:00
ve.dm.MetaItemFactory.js Convert AnnotationFactory and MetaItemFactory to NamedClassFactories 2013-04-09 12:05:05 -07:00
ve.dm.MetaList.js Transactions to store metadata merge info when present 2013-04-16 22:26:56 +01:00
ve.dm.Model.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.dm.ModelRegistry.js Convert AnnotationFactory and MetaItemFactory to NamedClassFactories 2013-04-09 12:05:05 -07:00
ve.dm.Node.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.dm.NodeFactory.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.dm.Surface.js The resurrection 2013-04-22 12:50:23 +01:00
ve.dm.SurfaceFragment.js Make clearing by type actually work 2013-04-25 16:53:25 -07:00
ve.dm.Transaction.js Allow fixUpInsertion to move offsets when inserting at start/end 2013-04-26 22:52:27 +00:00
ve.dm.TransactionProcessor.js Merge "Make the AnnotationSet constructor take an array of indexes" 2013-04-18 21:50:25 +00:00