From b98b1d011517340c0b9c1212bf08ae48f738672e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20Ochagav=C3=ADa?= Date: Fri, 9 Nov 2018 13:10:53 +0100 Subject: Fix on enter --- editors/code/src/commands/apply_source_change.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editors/code/src/commands/apply_source_change.ts b/editors/code/src/commands/apply_source_change.ts index ec420d1ab..cf921e3ac 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; - SourceFileNodeEdits: lc.TextDocumentEdit[]; + sourceFileEdits: lc.TextDocumentEdit[]; fileSystemEdits: FileSystemEdit[]; cursorPosition?: lc.TextDocumentPositionParams; } export async function handle(change: SourceChange) { const wsEdit = new vscode.WorkspaceEdit(); - for (const sourceEdit of change.SourceFileNodeEdits) { + for (const sourceEdit of change.sourceFileEdits) { const uri = Server.client.protocol2CodeConverter.asUri( sourceEdit.textDocument.uri ); -- cgit v1.2.3