Johannes Rieken 2023-03-31 16:55:25 +02:00 committed by GitHub
parent 168a670c58
commit 0b00feaec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ class InPlaceReplaceUp extends EditorAction {
if (!controller) {
return Promise.resolve(undefined);
}
return controller.run(this.id, true);
return controller.run(this.id, false);
}
}
@ -172,11 +172,10 @@ class InPlaceReplaceDown extends EditorAction {
if (!controller) {
return Promise.resolve(undefined);
}
return controller.run(this.id, false);
return controller.run(this.id, true);
}
}
registerEditorContribution(InPlaceReplaceController.ID, InPlaceReplaceController, EditorContributionInstantiation.Lazy);
registerEditorAction(InPlaceReplaceUp);
registerEditorAction(InPlaceReplaceDown);