Skip to content

Commit

Permalink
[plugin] fix eclipse-theia#6091: pass proper document change rangeOffset
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kosyakov <[email protected]>
  • Loading branch information
akosyakov committed Sep 4, 2019
1 parent 6bb0a25 commit 8f7c925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-ext/src/main/browser/documents-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class DocumentsMainImpl implements DocumentsMain {
text: c.text,
range: c.range,
rangeLength: c.rangeLength,
rangeOffset: 0
rangeOffset: c.rangeOffset
}))
}, model.dirty);
}));
Expand Down

0 comments on commit 8f7c925

Please sign in to comment.