Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Selection(anchor: Position, active: Position): Selection
  • new Selection(anchorLine: number, anchorColumn: number, activeLine: number, activeColumn: number): Selection

Properties

Private _active

_active: Position

Private _anchor

_anchor: Position

Protected _end

_end: Position

Protected _start

_start: Position

Accessors

active

anchor

end

isEmpty

  • get isEmpty(): boolean

isReversed

  • get isReversed(): boolean

isSingleLine

  • get isSingleLine(): boolean

start

Methods

contains

intersection

isEqual

  • isEqual(other: Range): boolean

toJSON

  • toJSON(): any

union

with

Static isRange

  • isRange(thing: any): thing is Range