Correction:
The files that show this behavior are in *shared* dropbox folders. Files in unshared dropbox folders don’t seem to jump the cursor around with “undo.” The files in the shared folders that show this behavior are not being edited by anyone else while I am using them, but they are in shared folders.
Kyle
On May 28, 2017, at 11:31 AM, Kyle Johnson kbj@linguist.umass.edu wrote:
Thanks Allan,
Yes, preliminary testing suggests that your diagnosis might be the reason. When I edit a file that is only on my disk, I don’t see the behavior. The files that I’ve seen it in are in dropbox folders. I’m the only person editing those files, however, so there aren’t going to be external changes that are independent of the file I’m working on. Will dropbox files that only I am using have the ability to confuse undo?
Kyle
On May 28, 2017, at 11:12 AM, Allan Odgaard mailinglist@textmate.org wrote:
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).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate