Searched refs:insertedText (Results 1 – 2 of 2) sorted by relevance
/third_party/typescript/src/server/ |
D | scriptVersionCache.ts | 58 insertLines(insertedText: string | undefined, suppressTrailingText: boolean) { 62 if (insertedText) { 63 insertedText = this.initialText + insertedText + this.trailingText; 66 insertedText = this.initialText + this.trailingText; 68 const lm = LineIndex.linesFromText(insertedText); 242 constructor(public pos: number, public deleteLen: number, public insertedText?: string) { property in ts.server.TextChange 247 this.insertedText ? this.insertedText.length : 0); 274 edit(pos: number, deleteLen: number, insertedText?: string) { 275 this.changes.push(new TextChange(pos, deleteLen, insertedText)); 278 insertedText && insertedText.length > ScriptVersionCache.changeLengthThreshold) { [all …]
|
/third_party/typescript/src/harness/ |
D | fourslashImpl.ts | 3107 const insertedText = change.textChanges[0].newText; constant 3108 …this.editScriptAndUpdateMarkers(fileName, span.start, span.start + insertedText.length, deletedTex…
|