mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
This commit is contained in:
parent
168a670c58
commit
0b00feaec1
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue