On 28 May 2017, at 11:05, Kyle Johnson wrote:
[…] it undoes the last parsed keystroke(s). (I didn’t notice this earlier because undo was removing blank spaces in the files I was looking at.) So what undo does in my LaTeX file is: undo+move the cursor to a different part of the document. I haven’t figured out if there is some pattern to its movement of the cursor.
Normally undo would move the caret to the previous place you edited.
Can you reproduce this 100%? Or does it only happyen occasioanlly?
If it is only occasionally, can it be that your document has been modified externally? If something else chnages the document (on disk), TextMate may silently reload the changes, but it may confuse the undo history (since it just imported a batch set of changes).