How can I limit the size of the UndoRedo stack?
I see it's possible to clear the entire UndoRedohistory with clear_history(), and get size of the stack via get_history_count().
But there doesn't see to be any way to limit the number of items in the stack.
I'm working on an editor where there's the possibility of a lot of data to be stored in UndoRedo, so it would be helpful to have some sort of control of this instead of the application locking up once the user exhausts the available memory.