Ability to undo indent selection?

It seems like you can’t undo indenting or re-indenting selections (defaultTab and indentAuto in commands). Is this something that’s possible? Would it be possible to implement as a feature?

Regular undo seems to work just fine for indenting changes.