Interface ISelection

Index

Properties

Methods

Properties

public cursor: ICursor

public editor: IEditor

public initialScreenRange: any

public marker: IDisplayBufferMarker

public needsAutoscroll: boolean

public retainSelection: boolean

public subscriptionCounts: any

public wordwise: boolean

Methods

public addSelectionAbove(): Array<any>

Returns

Array<any>

public addSelectionBelow(): any

Returns

any

public autoIndentSelectedRows(): any

Returns

any

public autoscroll()

public backspace(): any

Returns

any

public backspaceToBeginningOfLine(): any

Returns

any

public backspaceToBeginningOfWord(): any

Returns

any

public clear(): boolean

Returns

boolean

public clearAutoscroll(): any

Returns

any

public compare(otherSelection: any): any

Parameters

  • otherSelection: any

Returns

any

public copy(maintainClipboard: any): any

Parameters

  • maintainClipboard: any

Returns

any

public cut(maintainClipboard: any): any

Parameters

  • maintainClipboard: any

Returns

any

public cutToEndOfLine(maintainClipboard: any): any

Parameters

  • maintainClipboard: any

Returns

any

public delete(): any

Returns

any

public deleteLine(): any

Returns

any

public deleteSelectedText(): any

Returns

any

public deleteToEndOfWord(): any

Returns

any

public destroy(): any

Returns

any

public expandOverLine(): boolean

Returns

boolean

public expandOverWord(): any

Returns

any

public finalize(): any

Returns

any

public fold(): any

Returns

any

public getBufferRange(): IRange

Returns

IRange

public getBufferRowRange(): Array<number>

Returns

Array<number>

public getGoalBufferRange(): any

Returns

any

public getRegionRects(): Array<any>

Returns

Array<any>

public getScreenRange(): IRange

Returns

IRange

public getText(): string

Returns

string

public indent(_arg?: any): any

Parameters

  • _arg?: any optional

Returns

any

public indentSelectedRows(): IRange[]

Returns

IRange[]

public insertText(text: string, options?: any): any

Parameters

  • text: string
  • options?: any optional

Returns

any

public intersectsBufferRange(bufferRange: any): any

Parameters

  • bufferRange: any

Returns

any

public intersectsWith(otherSelection: any): any

Parameters

  • otherSelection: any

Returns

any

public isEmpty(): boolean

Returns

boolean

public isReversed(): boolean

Returns

boolean

public isSingleScreenLine(): boolean

Returns

boolean

public joinLines(): any

Returns

any

public merge(otherSelection: any, options: any): any

Parameters

  • otherSelection: any
  • options: any

Returns

any

public modifySelection(fn: () => any): any

Parameters

  • fn: () => any

Returns

any

public normalizeIndents(text: string, indentBasis: number): any

Parameters

  • text: string
  • indentBasis: number

Returns

any

public outdentSelectedRows(): Array<any>

Returns

Array<any>

public plantTail(): any

Returns

any

public screenRangeChanged(): any

Returns

any

public selectAll(): any

Returns

any

public selectDown(rowCount?: any): boolean

Parameters

  • rowCount?: any optional

Returns

boolean

public selectLeft(): boolean

Returns

boolean

public selectLine(row?: any): IRange

Parameters

  • row?: any optional

Returns

IRange

public selectRight(): boolean

Returns

boolean

public selectToBeginningOfLine(): any

Returns

any

public selectToBeginningOfNextWord(): any

Returns

any

public selectToBeginningOfWord(): any

Returns

any

public selectToBottom(): any

Returns

any

public selectToBufferPosition(position: any): any

Parameters

  • position: any

Returns

any

public selectToEndOfLine(): any

Returns

any

public selectToEndOfWord(): any

Returns

any

public selectToFirstCharacterOfLine(): any

Returns

any

public selectToNextWordBoundary(): any

Returns

any

public selectToPreviousWordBoundary(): any

Returns

any

public selectToScreenPosition(position: any): any

Parameters

  • position: any

Returns

any

public selectToTop(): any

Returns

any

public selectUp(rowCount?: any): boolean

Parameters

  • rowCount?: any optional

Returns

boolean

public selectWord(): IRange

Returns

IRange

public setBufferRange(bufferRange: any, options: any): any

Parameters

  • bufferRange: any
  • options: any

Returns

any

public setIndentationForLine(line: string, indentLevel: number): any

Parameters

  • line: string
  • indentLevel: number

Returns

any

public setScreenRange(screenRange: any, options: any): any

Parameters

  • screenRange: any
  • options: any

Returns

any

public toggleLineComments(): any

Returns

any