mediawiki-extensions-Visual.../modules/ve/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
..
actions Re-order command registry to match toolbar order 2013-12-02 14:18:03 +00:00
inspectors Spell removable and movable using modern English 2013-12-06 12:24:36 -08:00
styles Merge "Text style icon" 2013-12-11 01:46:50 +00:00
tools Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
widgets Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.ui.Action.js
ve.ui.ActionFactory.js Remove ve.Factory and ve.Registry and use oojs instead 2013-10-22 19:15:18 +00:00
ve.ui.Command.js Make commands aware of their symbolic names 2013-12-11 15:34:20 -08:00
ve.ui.CommandRegistry.js Make commands aware of their symbolic names 2013-12-11 15:34:20 -08:00
ve.ui.Context.js Followup 5d7673eb: still adjust width/height when positioning fails 2013-12-11 19:54:44 +00:00
ve.ui.Dialog.js Window refactor 2013-11-08 12:33:25 -08:00
ve.ui.Inspector.js Spell removable and movable using modern English 2013-12-06 12:24:36 -08:00
ve.ui.js Window refactor 2013-11-08 12:33:25 -08:00
ve.ui.Surface.js Only strip style attributes on rich paste from VE 2013-12-09 22:25:43 +00:00
ve.ui.TargetToolbar.js Window refactor 2013-11-08 12:33:25 -08:00
ve.ui.Toolbar.js Add a getDirectionFromRange Method to ve.ce.Document 2013-12-13 12:07:19 -08:00
ve.ui.ToolFactory.js Split oojs-ui from ve.ui 2013-10-28 22:40:08 -07:00
ve.ui.Trigger.js Add the special 'clear' (12) button to ve.ui.Trigger 2013-07-29 16:41:28 -07:00
ve.ui.TriggerRegistry.js Plain text paste with paste special 2013-11-26 18:23:58 +00:00
ve.ui.WindowSet.js Window refactor 2013-11-08 12:33:25 -08:00