mediawiki-extensions-Visual.../modules/ve/dm
Trevor Parscal cb4877b0d0 (bug 40339) Out of bounds errors
Detecting contextChange events was making assumptions about the previous state, and causing a mess of problems.

Solution: detect contextChange events in a smarter way.

We also now emit contextChange event when moving to a different node. This helps fix other issues because it's possible for the selection to be the same, but the node at that range to change, and that's a context change for sure. Example would be changing the heading level.

Change-Id: I99d6fa94fae76aa940077abc9b5beacd38eb7b0b
2012-12-03 14:23:58 -08:00
..
annotations (bug 42140) Don't force spaces to underscores in internal links 2012-11-19 18:55:49 -08:00
nodes Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Annotation.js Only apply HTML attributes to DOM nodes that are "safe" 2012-11-27 14:34:29 -08:00
ve.dm.AnnotationFactory.js
ve.dm.BranchNode.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Converter.js Handle annotated inline nodes in the converter 2012-11-27 14:41:40 -08:00
ve.dm.Document.js (bug 42401) Cursor movement fixes 2012-11-30 09:50:47 -08:00
ve.dm.DocumentSynchronizer.js
ve.dm.js
ve.dm.LeafNode.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Node.js Fix rebase artefact in ve.dm.Node.getAttributes() 2012-11-28 11:20:54 -08:00
ve.dm.NodeFactory.js
ve.dm.Surface.js (bug 40339) Out of bounds errors 2012-12-03 14:23:58 -08:00
ve.dm.SurfaceFragment.js (bug 42401) Cursor movement fixes 2012-11-30 09:50:47 -08:00
ve.dm.Transaction.js Merge "Added contextChange event to surface model, replacing annotationChange" 2012-11-27 22:54:11 +00:00
ve.dm.TransactionProcessor.js Make annotating inline elements actually work 2012-11-27 14:41:40 -08:00