I'm having a strange behaviour when using the undo action (CTRL+Z) in N++ 4.9.2 (it was present in 4.9.1 also); these are the steps to reproduce the issue:
1. open a new empty document;
2. write something like abc;
3. double click on abc to select the whole word and press a; the text should be replaced by a;
4. press CTRL+Z to perform an undo.
The text a should be reverted to abc, instead what I get is an empty document; then, if I press CTRL+Z again, I get the abc text. To sum up:
- Write 'abc' and replace it with 'a';
- first CTRL+Z: from 'a' to '';
- second CTRL+Z: from '' to 'abc'.
Does anyone else have this behaviour? Is there any option to have the old style behaviour? In my opinion the old style behaviour is the correct one, because I perform a single action (replace text) so I shouldn't press 2 times CTRL+Z to undo TWO actions (while I performed a single action).
Thanks and regards,
Lore
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm seeing this behavior as well. In my case I had made a significant amount of changes and with one click of the undo button the file reverted back to the previously saved version thus wiping out all of my changes. Fortunately, one click of redo button and all my changes were there again.
I found that after closing the file and re-opening it, the "normal" undo behavior was restored.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been noticing this, too. It's very annoying that you can't rely on CTRL+Z to bring you to a previous situation you know to have been better. You either get two steps back, or to the same unwanted situation again, when pressing CTRL+Y.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm having a strange behaviour when using the undo action (CTRL+Z) in N++ 4.9.2 (it was present in 4.9.1 also); these are the steps to reproduce the issue:
1. open a new empty document;
2. write something like abc;
3. double click on abc to select the whole word and press a; the text should be replaced by a;
4. press CTRL+Z to perform an undo.
The text a should be reverted to abc, instead what I get is an empty document; then, if I press CTRL+Z again, I get the abc text. To sum up:
- Write 'abc' and replace it with 'a';
- first CTRL+Z: from 'a' to '';
- second CTRL+Z: from '' to 'abc'.
Does anyone else have this behaviour? Is there any option to have the old style behaviour? In my opinion the old style behaviour is the correct one, because I perform a single action (replace text) so I shouldn't press 2 times CTRL+Z to undo TWO actions (while I performed a single action).
Thanks and regards,
Lore
I'm seeing this behavior as well. In my case I had made a significant amount of changes and with one click of the undo button the file reverted back to the previously saved version thus wiping out all of my changes. Fortunately, one click of redo button and all my changes were there again.
I found that after closing the file and re-opening it, the "normal" undo behavior was restored.
I've been noticing this, too. It's very annoying that you can't rely on CTRL+Z to bring you to a previous situation you know to have been better. You either get two steps back, or to the same unwanted situation again, when pressing CTRL+Y.