Usually, when you use "undo" command, the cursor is moved back to the locus where the "undo" is actually done. However, it seems that in some cases, the cursor is not moving. It seems to be the case if the action to be undone is the insertion or the suppresion of a carriage return.
Here is a simple test: I open a file, I insert some chars, I insert a new line, I move the cursor down and select undo : the cursor stay in place and the insertion is correctly undone.
This is fixed now. The commands [text delete/insert/replace] now support a new -preserve option.
Changes committed to the repository (rev. 1344 (sourceforge.net)). The core must be rebuilt.