Class TextEditorPropertiesMain
Constructors
constructor
Parameters
selections: Selection[]
visibleRanges: Range[]
Properties
Readonly selections
selections: Selection[]
Readonly visibleRanges
visibleRanges: Range[]
Methods
generateDelta
Parameters
source: undefined | string
Static Private getOptionsFromEditor
Parameters
model: ITextModel
editor: MonacoEditor
Static Private getSelectionsFromEditor
Parameters
Returns Selection[]
Static Private getVisibleRangesFromEditor
Parameters
Returns Range[]
Static Private optionsEqual
Parameters
Returns boolean
Static Private rangesEqual
- rangesEqual(a: Range[], b: Range[]): boolean
Parameters
Returns boolean
Static readFromEditor
Parameters
model: ITextModel
editor: MonacoEditor
Static Private selectionsEqual
- selectionsEqual(a: Selection[], b: Selection[]): boolean
Parameters
a: Selection[]
b: Selection[]
Returns boolean