mediawiki-extensions-Visual.../modules/ve-mw/ui
Moriel Schottlender 95d99192b4 Add a getDirectionFromRange Method to ve.ce.Document
getDirectionFromRange returns the direction property of the ce nodes under
that range. That method is mostly useful to recognize the overall block
direction of a selection or fragment.

The method is currently used in the following locations:
* ve.ui.Toolbar onContextChange - as a means to recognize the current context's
  block direction for the icon directionality.
* ve.ui.MWExtensionInspector - if the selection is text and not an existing node
  the input directionality adjusts to the context direction.

Bug: 57421
Change-Id: Ifc01b8e5dc0a2fe39d221e59e452c5cfad709a2d
2013-12-13 12:07:19 -08:00
..
dialogs Use the same new toolbar for media and reference dialogs 2013-12-12 19:22:50 +00:00
inspectors Add a getDirectionFromRange Method to ve.ce.Document 2013-12-13 12:07:19 -08:00
pages Add language code to language dialog 2013-12-11 02:42:20 +00:00
styles Spell removable and movable using modern English 2013-12-06 12:24:36 -08:00
tools Make commands aware of their symbolic names 2013-12-11 15:34:20 -08:00
widgets Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.ui.MWDialog.js Window refactor 2013-11-08 12:33:25 -08:00