Index

Constructor methods

Properties

Methods

Constructor methods

constructor(_snapshot: ITextSnapshot, _lineNumber: number, _start: number, _end: number, _lineBreak: string): TextSnapshotLine

Parameters

  • _snapshot: ITextSnapshot
  • _lineNumber: number
  • _start: number
  • _end: number
  • _lineBreak: string

Returns

TextSnapshotLine

Properties

private _end: any

private _lineBreak: any

private _lineNumber: any

private _snapshot: any

private _start: any

Methods

public end(): SnapshotPoint

Returns

SnapshotPoint

public endIncludingLineBreak(): SnapshotPoint

Returns

SnapshotPoint

public endIncludingLineBreakPosition(): number

Returns

number

public endPosition(): number

Returns

number

public getText(): string

Returns

string

public length(): number

Returns

number

public lineNumber(): number

Returns

number

public snapshot(): ITextSnapshot

Returns

ITextSnapshot

public start(): SnapshotPoint

Returns

SnapshotPoint

public startPosition(): number

Returns

number