Ace API Reference
    Preparing search index...

    Function doBidiReorder

    • Performs text reordering by implementing Unicode Bidi algorithm with aim to produce logical<->visual map and Bidi levels

      Parameters

      • text: string

        string to be reordered

      • textCharTypes: any[]

        unicode character types produced by call to 'hasBidiCharacters'

      • isRtl: boolean

        'true' for right-to-left text direction, otherwise 'false'

      Returns any

      An object containing logicalFromVisual map and Bidi levels