From f8b36bbc3b968754b71844d942286e81415627b8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 7 Nov 2018 18:32:33 +0300 Subject: Rename File -> SourceFileNode --- editors/code/src/commands/apply_source_change.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors') diff --git a/editors/code/src/commands/apply_source_change.ts b/editors/code/src/commands/apply_source_change.ts index cf921e3ac..ec420d1ab 100644 --- a/editors/code/src/commands/apply_source_change.ts +++ b/editors/code/src/commands/apply_source_change.ts @@ -12,14 +12,14 @@ interface FileSystemEdit { export interface SourceChange { label: string; - sourceFileEdits: lc.TextDocumentEdit[]; + SourceFileNodeEdits: lc.TextDocumentEdit[]; fileSystemEdits: FileSystemEdit[]; cursorPosition?: lc.TextDocumentPositionParams; } export async function handle(change: SourceChange) { const wsEdit = new vscode.WorkspaceEdit(); - for (const sourceEdit of change.sourceFileEdits) { + for (const sourceEdit of change.SourceFileNodeEdits) { const uri = Server.client.protocol2CodeConverter.asUri( sourceEdit.textDocument.uri ); -- cgit v1.2.3