Undo deletes text when I expect it to add.

I entered a paragraph and then I deleted the last six or so words. I decided that I wanted them back and so I hit undo. Scrivener then undid the whole paragraph.

I was able to “redo” this “undo’” so nothing was lost but it was not the behavior I was wanting.

Thanks

Hi,

I’ve never seen this behaviour and can’t reproduce it. Can you get it to happen again, or provide steps to reproduce it? Scrivener uses the OS X text engine under the hood, and that handles the undo of text for the most part.

All the best,
Keith

I’ve been trying to reproduce the bug this afternoon.

  1. type “comboword” or something like that.
  2. delete the last four letters.
  3. Replace them with “hello”
  4. Hit command-z.

I think this should give you “comboword”. Instead it deletes the whole thing.

I don’t think this can be classified as a bug, really - or at least not a Scrivener one. Text undo is handled by the OS X text system - there’s no code in Scrivener for this at all, it’s all at the Apple OS level. So this will be the same in TextEdit and other programs too.
Best,
Keith