mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
d23c10fd8e
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 |
||
---|---|---|
.. | ||
annotations | ||
lineardata | ||
metaitems | ||
nodes | ||
ve.dm.Annotation.js | ||
ve.dm.AnnotationFactory.js | ||
ve.dm.AnnotationSet.js | ||
ve.dm.BranchNode.js | ||
ve.dm.Converter.js | ||
ve.dm.DataString.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSlice.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.IndexValueStore.js | ||
ve.dm.InternalList.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.LinearData.js | ||
ve.dm.MetaItem.js | ||
ve.dm.MetaItemFactory.js | ||
ve.dm.MetaList.js | ||
ve.dm.Model.js | ||
ve.dm.ModelRegistry.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.SurfaceFragment.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |