mediawiki-extensions-Visual.../modules/ve/actions
Trevor Parscal 8fc98868c9 Fixed inspector behavior
ve.ui.Inspector
* Removed disabled state and interfaces - this isn't needed
* Renamed prepareSelection to onInitialize
* Using event emitter to run onInitialize, onOpen and onClose methods
* Left removal up to the child class to handle in the onClose method
* Replaced calls on context to close inspector to calling close directly
* Renamed prepareSelection stub to onInitialize
* Emitting initialize event from within the open method
* Added recursion guarding to close method
* Changed the close method's argument to be remove instead of accept - the more common case is to save changes, and the only time you wouldn't save changes is if you were to remove the annotation
* Moved focus restore to close method

ve.ui.Context
* Moved the majority of the code in openInspector and closeInspector to event handlers for onInspectorOpen and onInspectorClose
* Updated calls to closeInspector re: accept->remove argument change

ve.ui.LinkInspector
* Renamed prepareSelection to onInitialize and rewrote logic and documentation
* Removed unused onLocationInputChange method
* Moved restore focus (now it's in the inspector base class)

ve.dm.SurfaceFragment
* Added word mode for expandRange

ve.dm.Surface
* Added locking/unlocking while processing transactions - this was not an issue before because this was effectively being done manually throughout ce (which needs to be cleaned up) but once we started using the content action to insert content dm and ce started playing off each other and inserting in a loop - we already do this for undo/redo so it makes sense to do it here as well

ve.InspectorAction
* Updated arguments re: close method's accept->remove argument change

Change-Id: I38995d4101fda71bfb2e6fe516603507ce820937
2012-11-21 12:01:14 -08:00
..
ve.AnnotationAction.js The great inspector and context rewrite of 2012 2012-11-19 15:21:27 -08:00
ve.ContentAction.js Added undo-before-apply for new link annotations 2012-11-19 17:10:05 -08:00
ve.FormatAction.js (bug #41434) Converting format across 2 lists with paragraphs in between fail 2012-10-26 15:18:44 -07:00
ve.HistoryAction.js Add ve.Action, ve.ActionFactory, subclasses 2012-10-26 14:44:17 -07:00
ve.IndentationAction.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.InspectorAction.js Fixed inspector behavior 2012-11-21 12:01:14 -08:00
ve.ListAction.js Fix JS error in unlisting 2012-11-09 14:14:04 -08:00