mediawiki-extensions-Visual.../modules/ve/ce
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 Great Annotation Refactor of 2013 2013-04-08 18:10:16 -07:00
nodes Code style fixes 2013-05-06 12:36:52 +01:00
styles (bug 47746) Fixing Phantom placement in RTL 2013-04-29 17:00:29 -07:00
ve.ce.Annotation.js Add ve.ce.View as a common base class for ce.Node and ce.Annotation 2013-04-09 12:05:05 -07:00
ve.ce.AnnotationFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.BranchNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.ContentBranchNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.Document.js Merge "Inside ve.ce.Document.getRelativeOffset fallback to 'character' mode if 'word' mode returns the same offset as was passed originally" 2013-04-16 22:54:27 +00:00
ve.ce.DomRange.js DomRange makes more sense as a name for this class (cause it is not rangy specific). 2013-03-05 12:18:59 -08:00
ve.ce.FocusableNode.js Allow node focusing 2013-04-18 13:54:37 -07:00
ve.ce.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.ce.LeafNode.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.ce.Node.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.NodeFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.RelocatableNode.js Allow node relocation 2013-04-19 12:07:18 -07:00
ve.ce.ResizableNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.Surface.js Fix insertion annotations 2013-05-06 15:53:29 -07:00
ve.ce.SurfaceObserver.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.View.js New static property - renderHtmlAttributes 2013-04-25 14:42:12 -07:00