Undo function only works when clicking inside of the document

After many months (years) of wrestling with Scrivener’s undo function, I finally discovered that it is only available when you click inside of a given document - when you just click on a document in the binder, it is not.

I am sure there are folks who are perfectly aware of this, but I am also sure there are folks who aren’t, and who therefore lost text due to the undo function seemingly not being available when needed. I consider this a bug, and would find it great when “undo” would actually be available the moment you select a given document in the binder.