Package: gedit Version: 3.2.6-1 Severity: grave Sometimes I accidentally press Ctrl+D (which removes the current line) when I meant Ctrl+S (save document). This used to be fine before (in the amazing 2.x versions), because I could simply hit Ctrl+Z (to undo) and then Ctrl+S to save the document as I intended it. In this version however, sometimes the line is not restored with the undo command. If I'm lucky, I pressed Ctrl+S just before I accidentally pressed Ctrl+D and I can undo by re-loading (File -> Revert) the document.
Usually more text is removed after undoing a Ctrl+D command, and some text end up selected. It doesn't happen always though. I suspect that it has to do with the undo history filling up and once that happens undoing Ctrl+D doesn't work correctly anymore. Undoing it will then present the document as it was much further back in the undo history (at least that's what I think it is). I'm also pretty sure that redoing doesn't bring back what I had before an incorrect undo happens. So I cannot undo a faulty undo. On the other hand, to be fair, I lose faith in the undo system when this happens so since I save so often I'll rather just reload the whole document to be sure nothing has been accidentally removed or readded. I'll try to be more observant next time it happens so that I can give more information. Please tell me if you want me to test or look into something. Thanks ~ Patrik
signature.asc
Description: OpenPGP digital signature