mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +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 | ||
nodes | ||
styles | ||
ve.ce.Annotation.js | ||
ve.ce.AnnotationFactory.js | ||
ve.ce.BranchNode.js | ||
ve.ce.ContentBranchNode.js | ||
ve.ce.Document.js | ||
ve.ce.DomRange.js | ||
ve.ce.FocusableNode.js | ||
ve.ce.js | ||
ve.ce.LeafNode.js | ||
ve.ce.Node.js | ||
ve.ce.NodeFactory.js | ||
ve.ce.RelocatableNode.js | ||
ve.ce.ResizableNode.js | ||
ve.ce.Surface.js | ||
ve.ce.SurfaceObserver.js | ||
ve.ce.View.js |