Ace API Reference
    Preparing search index...

    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

    Index

    Constructors

    Properties

    $isRtl: boolean
    bidiMap: {}
    charWidths: any[]
    contentWidth: number
    currentRow: any
    EOF: string
    EOL: string
    fontMetrics: any
    isMoveLeftOperation: boolean
    isRtlDir: boolean
    line: string
    RLE: string
    rtlLineOffset: number
    seenBidi: boolean
    session: EditSession
    showInvisibles: boolean
    wrapIndent: number
    wrapOffset: number

    Methods

    • 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)

      Parameters

      • screenRow: number

        the screen row to be checked

      • OptionaldocRow: number

        the document row to be checked [optional]

      • OptionalsplitIndex: number

        the wrapped screen line index [ optional]

      Returns boolean

    • Resets stored info related to current screen row

      Returns void

    • Parameters

      • editor: any
      • isRtlDir: any

      Returns void

    • Parameters

      • showInvisibles: any

      Returns void