Interface MultiSelectProperties

interface MultiSelectProperties {
    inMultiSelectMode: boolean;
    index?: number;
    rangeCount: number;
    rangeList: RangeList;
    ranges: Range[];
    addRange(range, $blockChangeEvents?): any;
    getAllRanges(): Range[];
    joinSelections(): void;
    mergeOverlappingRanges(): void;
    rectangularRangeBlock(screenCursor, screenAnchor, includeEmptyLines?): Range[];
    splitIntoLines(): void;
    substractPoint(pos): any;
    toSingleRange(range?): void;
    toggleBlockSelection(): void;
}

Properties

inMultiSelectMode: boolean
index?: number
rangeCount: number
rangeList: RangeList
ranges: Range[]

Methods

  • Adds a range to a selection by entering multiselect mode, if necessary.

    Parameters

    • range: Range

      The new range to add

    • Optional $blockChangeEvents: boolean

      Whether or not to block changing events

    Returns any

  • Merges overlapping ranges ensuring consistency after changes

    Returns void

  • Gets list of ranges composing rectangular block on the screen

    Parameters

    • screenCursor: Ace.ScreenCoordinates

      The cursor to use

    • screenAnchor: Ace.ScreenCoordinates

      The anchor to use

    • Optional includeEmptyLines: boolean

      If true, this includes ranges inside the block which are empty due to clipping

    Returns Range[]

  • Splits all the ranges into lines.

    Returns void

  • Removes a Range containing pos (if it exists).

    Parameters

    • pos: Ace.Point

      The position to remove, as a {row, column} object

    Returns any

  • Parameters

    Returns void

  • Returns void

Generated using TypeDoc