Bidi
Constants
Class methods
Compute explicit embedding levels for one paragraph of text (X1-X8), and identify level runs (BD7) for use when determining Isolating Run Sequences (X10).
processing_classes[i] must contain the BidiClass of the char at byte index i,
for each char in text.
runs returns the list of level runs (BD7) of the text.
3.1.3 Identifying Bracket Pairs
Returns all paired brackets in the source, as indices into the text source.
Compute the set of isolating run sequences.
An isolating run sequence is a maximal sequence of level runs such that for all level runs except the last one in the sequence, the last character of the run is an isolate initiator whose matching PDI is the first character of the next level run in the sequence.
Note: This function does not return the sequences in order by their first characters.
Find the level runs in a paragraph.
This is step X9 of the algorithm.
Neutral or Isolate formatting character (B, S, WS, ON, FSI, LRI, RLI, PDI)
For use as a predicate for position / rposition
Should this character be ignored in steps after X9?
3.3.6 Resolving Implicit Levels
http://www.unicode.org/reports/tr9/#Resolving_Implicit_Levels
Nested types
- Bidi::BidiClass
- Bidi::BidiDataSource
- Bidi::BidiInfo
- Bidi::BidiInfoCommon
- Bidi::BidiMatchedOpeningBracket
- Bidi::BracketPair
- Bidi::CharData
- Bidi::Direction
- Bidi::FormatChars
- Bidi::HardcodedBidiData
- Bidi::IsolatingRunSequence
- Bidi::Level
- Bidi::LevelRun
- Bidi::OverrideStatus
- Bidi::Paragraph
- Bidi::ParagraphBidiInfo
- Bidi::ParagraphInfo
- Bidi::Status
- Bidi::TextSource
- Bidi::UTF16
- Bidi::Utf8IndexLenIter