This commit is contained in:
rebornix
2017-01-24 09:38:46 -08:00
parent 4e196ffb9a
commit 9b5aa6ec15

View File

@@ -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);
}
}
}