mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 05:28:19 -05:00
fix #19223
This commit is contained in:
@@ -312,7 +312,9 @@ export class ReindentLinesAction extends EditorAction {
|
||||
return;
|
||||
}
|
||||
let edits = getReindentEditOperations(model, 1, model.getLineCount());
|
||||
editor.executeEdits(this.id, edits);
|
||||
if (edits) {
|
||||
editor.executeEdits(this.id, edits);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user