Interface IScriptSnapshot

Index

Methods

Methods

public getLength(): number

Returns

number

public getLineStartPositions(): Array<number>

Returns

Array<number>

public getText(start: number, end: number): string

Parameters

  • start: number
  • end: number

Returns

string

public getTextChangeRangeSinceVersion(scriptVersion: number): TextChangeRange

Parameters

  • scriptVersion: number

Returns

TextChangeRange