mediawiki-extensions-Visual.../modules/ve/dm
Christian Williams d23c10fd8e Fix insertion annotations
Now comparing annotations in surface to insertionAnnotations
by comparable object to trigger pawn trick. Adding annotations
correctly to placeholder.

dm.Surface change method now uses setInsertionAnnotations()
and passes the AnnotationSet from offset-1. The set is cloned.

Added ve.ce.Surface.areAnnotationsCorrect() to compare either
annotations to the left or right to the insertionAnnotations.

Also use compareTo() and getComparableAnnotations() rather than
comparing by name, and fix SurfaceFragment.annotateContent() to
actually be selective when clearing rather than clearing everything.

Change-Id: I6116afa2e176daa0a0f2103a551501426829e2a6
2013-05-06 15:53:29 -07:00
..
annotations Use a smarter comparison of annotations when creating open/close tags 2013-05-05 20:41:53 +01:00
lineardata Fix range translation for surface fragments 2013-04-30 17:08:15 +01:00
metaitems Create meta item for defaultsort 2013-04-29 15:33:37 +01:00
nodes Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.Annotation.js Use a smarter comparison of annotations when creating open/close tags 2013-05-05 20:41:53 +01:00
ve.dm.AnnotationFactory.js Convert AnnotationFactory and MetaItemFactory to NamedClassFactories 2013-04-09 12:05:05 -07:00
ve.dm.AnnotationSet.js Fix insertion annotations 2013-05-06 15:53:29 -07:00
ve.dm.BranchNode.js Fix documentation to place @emits in the correct place 2013-03-25 21:06:05 +00:00
ve.dm.Converter.js Merge "Use a smarter comparison of annotations when creating open/close tags" 2013-05-06 18:52:30 +00:00
ve.dm.DataString.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.Document.js Code style fixes 2013-05-06 12:36:52 +01: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 Deduplicate childUpdate events based on transaction and appliedness 2013-04-25 17:08:30 -07:00
ve.dm.IndexValueStore.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.InternalList.js EventEmitter API cleanup 2013-05-02 15:05:59 -07: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 Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.dm.LinearData.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
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 Code style fixes 2013-05-06 12:36:52 +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 Force about grouping for multi-element about groups 2013-05-05 00:07:29 -07:00
ve.dm.Node.js Allow merging of content nodes with nodes that can contain content (but are not content themself) 2013-04-30 12:09:22 -07:00
ve.dm.NodeFactory.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.dm.Surface.js Fix insertion annotations 2013-05-06 15:53:29 -07:00
ve.dm.SurfaceFragment.js Fix insertion annotations 2013-05-06 15:53:29 -07:00
ve.dm.Transaction.js Merge "When annotating, skip any branch nodes that are content" 2013-05-01 18:06:34 +00:00
ve.dm.TransactionProcessor.js Remove all code related to change markers 2013-04-30 23:15:47 +01:00