Interface ICursor

Index

Properties

Methods

Properties

public bufferPosition: any

public editor: IEditor

public goalColumn: any

public id: number

public marker: IDisplayBufferMarker

public needsAutoscroll: boolean

public screenPosition: any

public visible: boolean

Methods

public autoscroll(): any

Returns

any

public changePosition(options: any, fn: Function): any

Parameters

  • options: any
  • fn: Function

Returns

any

public clearAutoscroll()

public clearSelection()

public destroy(): any

Returns

any

public getBeginningOfCurrentWordBufferPosition(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getBeginningOfNextWordBufferPosition(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getBufferColumn(): number

Returns

number

public getBufferPosition(): IPoint

Returns

IPoint

public getBufferRow(): number

Returns

number

public getCurrentBufferLine(): string

Returns

string

public getCurrentLineBufferRange(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getCurrentParagraphBufferRange(): any

Returns

any

public getCurrentWordBufferRange(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getCurrentWordPrefix(): string

Returns

string

public getEndOfCurrentWordBufferPosition(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getIndentLevel(): number

Returns

number

public getMoveNextWordBoundaryBufferPosition(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getPixelRect(): any

Returns

any

public getPreviousWordBoundaryBufferPosition(options?: any): IPoint

Parameters

  • options?: any optional

Returns

IPoint

public getScopes(): Array<string>

Returns

Array<string>

public getScreenColumn(): number

Returns

number

public getScreenPosition(): IPoint

Returns

IPoint

public getScreenRange(): IRange

Returns

IRange

public getScreenRow(): number

Returns

number

public hasPrecedingCharactersOnLine(): boolean

Returns

boolean

public isAtBeginningOfLine(): boolean

Returns

boolean

public isAtEndOfLine(): boolean

Returns

boolean

public isBetweenWordAndNonWord(): boolean

Returns

boolean

public isInsideWord(): boolean

Returns

boolean

public isLastCursor(): boolean

Returns

boolean

public isSurroundedByWhitespace(): boolean

Returns

boolean

public isVisible(): boolean

Returns

boolean

public moveDown(rowCount: number, arg?: any): any

Parameters

  • rowCount: number
  • arg?: any optional

Returns

any

public moveLeft(arg?: any): any

Parameters

  • arg?: any optional

Returns

any

public moveRight(arg?: any): any

Parameters

  • arg?: any optional

Returns

any

public moveToBeginningOfLine()

public moveToBeginningOfNextWord()

public moveToBeginningOfScreenLine()

public moveToBeginningOfWord()

public moveToBottom()

public moveToEndOfLine()

public moveToEndOfScreenLine()

public moveToEndOfWord()

public moveToFirstCharacterOfLine()

public moveToNextWordBoundary()

public moveToPreviousWordBoundary()

public moveToTop(): any

Returns

any

public moveUp(rowCount: number, arg?: any): any

Parameters

  • rowCount: number
  • arg?: any optional

Returns

any

public setBufferPosition(bufferPosition: any, options?: any): any

Parameters

  • bufferPosition: any
  • options?: any optional

Returns

any

public setScreenPosition(screenPosition: any, options?: any): any

Parameters

  • screenPosition: any
  • options?: any optional

Returns

any

public setVisible(visible: boolean): any

Parameters

  • visible: boolean

Returns

any

public updateVisibility(): any

Returns

any

public wordRegExp(arg?: any): any

Parameters

  • arg?: any optional

Returns

any