Creates a new BidiHandler
object
The session to use
Returns 'selections' - array of objects defining set of selection rectangles
the start column position
the end column position
Each object contains 'left' and 'width' values defining selection rectangle.
Returns 'true' if row contains Bidi characters, in such case creates Bidi map to be used in operations related to selection (keyboard arrays, mouse click, select)
the screen row to be checked
Optional
docRow: numberthe document row to be checked [optional]
Optional
splitIndex: numberthe wrapped screen line index [ optional]
This object is used to ensure Bi-Directional support (for languages with text flowing from right to left, like Arabic or Hebrew) including correct caret positioning, text selection mouse and keyboard arrows functioning