Ace API Reference
    Preparing search index...
    Index

    Constructors

    • Parameters

      • domEvent: any
      • editor: any

      Returns MouseEvent

    Properties

    $inSelection: any
    $pos: any
    clientX: any
    clientY: any
    defaultPrevented: boolean
    domEvent: any
    editor: any
    propagationStopped: boolean
    speed: number
    wheelX: number
    wheelY: number
    x: any
    y: any

    Methods

    • Get the clicked mouse button

      Returns number

      0 for left button, 1 for middle button, 2 for right button

    • Get the document position below the mouse cursor

      Returns any

      'row' and 'column' of the document position

    • Get the relative position within the gutter.

      Returns number

      'row' within the gutter.

    • Check if the mouse cursor is inside of the text selection

      Returns boolean

      whether the mouse cursor is inside of the selection