struct

Bidi::IsolatingRunSequence

Inherits Struct < Value < Object

Output of isolating_run_sequences (steps X9-X10)

Constructors

new(runs : Array(LevelRun), sos : BidiClass, eos : BidiClass)
Source

Instance methods

eos=(eos : BidiClass)
Source
iter_backwards_from(pos : Int32, level_run_index : Int32) : Iterator(Int32)

Given a text-relative position pos and an index of the level run it is in, produce an iterator of all characters before pos (..pos) that are in this run sequence

Source
iter_forwards_from(pos : Int32, level_run_index : Int32) : Iterator(Int32)

Given a text-relative position pos and an index of the level run it is in, produce an iterator of all characters after and pos (pos..) that are in this run sequence

Source
runs
Source
runs=(runs : Array(LevelRun))
Source
sos=(sos : BidiClass)
Source