mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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 |
||
---|---|---|
.. | ||
ve.AnnotationAction.js | ||
ve.ContentAction.js | ||
ve.FormatAction.js | ||
ve.HistoryAction.js | ||
ve.IndentationAction.js | ||
ve.InspectorAction.js | ||
ve.ListAction.js |