mediawiki-extensions-Visual.../modules/ve/ce
Trevor Parscal 9c74c97808 Fix even more inspector issues, and some ce ones as well
ve.dm.SurfaceFragment
* Removed flawed implementation of word mode for expandRange method and made use of new getNearestWordBoundary method in the document model

ve.dm.Surface
* Got rid of useInsertionAnnotations, which allowed disabling and enabling of insertion annotations - this isn't needed anymore because it was just a dirty hack around the improper starting and stopping of surface observer that's now solved more elegantly by emitting lock and unlock before committing or rolling back transactions
* Get annotations from the first character of the selection if the selection is not collapsed
* Only emit annotationChange events if it really changed

ve.dm.Document
* Added getNearestWordBoundary method which performs the work behind the surface fragment expandRange word method

ve.ce.SurfaceObserver
* Allow using an initial selection to avoid the observer thinking the selection has changed just because it started out with null
* Only emit selectionChange event if there was a meaningful change

ve.ce.Surface
* (bug 42279) Only annotate characters if insertion annotations are not empty
* Remove manual locking and unlocking, this is now done inside the change method of surface model
* Provide an initial selection to surface observer when we clear it
* Remove enabling and disabling of insertionAnnotations, this isn't needed anymore
* Stop/start observer on key presses that execute actions as well as those that have no special handling

ve.ce.Document
* Make getNodeFromOffsetand getSlugAtOffset return null when given -1 as an offset

Change-Id: Ibf6b26de299e54ae8688a2653bf5d5538927f8c3
2012-11-21 15:26:12 -08:00
..
nodes Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
styles Alien Phantoms 2012-11-14 13:11:29 -08:00
ve.ce.BranchNode.js (bug 42134) Add shields after node is attached to the live DOM 2012-11-15 14:17:12 -08:00
ve.ce.Document.js Fix even more inspector issues, and some ce ones as well 2012-11-21 15:26:12 -08:00
ve.ce.js Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
ve.ce.LeafNode.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.ce.Node.js (bug 42134) Add shields after node is attached to the live DOM 2012-11-15 14:17:12 -08:00
ve.ce.NodeFactory.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.ce.Surface.js Fix even more inspector issues, and some ce ones as well 2012-11-21 15:26:12 -08:00
ve.ce.SurfaceObserver.js Fix even more inspector issues, and some ce ones as well 2012-11-21 15:26:12 -08:00