We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1929a commit b290623Copy full SHA for b290623
lib/commands/compare-selection-with-text1.js
@@ -15,6 +15,7 @@ class CompareSelectionWithText1Command {
15
const textInfo = this._selectionInfoBuilder.extract(editor);
16
this._selectionInfoRegistry.set(TextKey.REGISTER2, textInfo);
17
18
+ await 'HACK'; // HACK: To avoid TextEditor has been disposed error
19
await this._diffPresenter.takeDiff(TextKey.REGISTER1, TextKey.REGISTER2);
20
} catch (e) {
21
this._handleError(e);
0 commit comments