I have a .txt file with smart quotes. If I change them to dumb quotes (manually or with search-and-replace), and then do a bunch of other edits, as well as saving the file between edits, and then undo (with either control-Z or Edit/Undo), it undoes all of the edits back until and including the smart quote replacement - so the smart quotes reappear!
The only way for me to get rid of the smart quotes is to change them, save, close the file, and re-open. Or to change to dumb quotes, cut the text, save, paste to another program, copy, and paste back to Notepad++
ANY IDEA WHY? It makes no sense. Why does control-Z undo several steps at once?
Notepad++ 6.6.9, Win 7 x64. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have a file where this can be reproduced? I've tried but it seems to work here.
Each search-and-replace operation is "one" operation as far as undo is concerned, even if many characters are changed. Are you sure you're not undoing the search-and-replace operation? I.e doing this:
Replace smart quotes with regular quotes
Immediately afterwards do undo
=>
All regular quotes are changed back to smart quotes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a .txt file with smart quotes. If I change them to dumb quotes (manually or with search-and-replace), and then do a bunch of other edits, as well as saving the file between edits, and then undo (with either control-Z or Edit/Undo), it undoes all of the edits back until and including the smart quote replacement - so the smart quotes reappear!
The only way for me to get rid of the smart quotes is to change them, save, close the file, and re-open. Or to change to dumb quotes, cut the text, save, paste to another program, copy, and paste back to Notepad++
ANY IDEA WHY? It makes no sense. Why does control-Z undo several steps at once?
Notepad++ 6.6.9, Win 7 x64. Thanks!
Do you have a file where this can be reproduced? I've tried but it seems to work here.
Each search-and-replace operation is "one" operation as far as undo is concerned, even if many characters are changed. Are you sure you're not undoing the search-and-replace operation? I.e doing this:
Replace smart quotes with regular quotes
Immediately afterwards do undo
=>
All regular quotes are changed back to smart quotes