Expected: step 3 commits Edit Mode and then does Line Cut. As a result, Undo has two positions and step 4 reverts to aazz\naazz (if zz was typed in step 2).
Actual: looks like both operations are combined into one Undo position and result is aa\naa.
This is probably a larger issue than with Line Cut alone. Please check if Edit Mode properly creates 2 Undo positions even if it's committed indirectly (not by Enter).
Document:
Expected: step 3 commits Edit Mode and then does Line Cut. As a result, Undo has two positions and step 4 reverts to
aazz\naazz
(ifzz
was typed in step 2).Actual: looks like both operations are combined into one Undo position and result is
aa\naa
.This is probably a larger issue than with Line Cut alone. Please check if Edit Mode properly creates 2 Undo positions even if it's committed indirectly (not by Enter).