Undo based on time slices and not on performed Actions!

Undo based on time slices and not on performed Actions!

Undo/Redo actions behave horribly! Undo states seem to be saved based on a timer and not on performed actions, thus one never knows what is going to be undo-ed. E.g if I underline a word then type i a new word when I undo I expect to undo the last word typed, but Writer will undo also the underlining and even more actions. Horrible and inconsistent with every other editor be it web based or not!