Hi! In version 5.1.4 unicode (and in previous versions as well) there is a small bug in the "Replace all" feature (but it can be serious). Steps to reproduce: copy-paste for example the following line to a new document:
small duck duck duck duck
Save the file (important!). Now move the caret to the very first position. Press Ctrl-H (Replace...). (Note that "small" is now selected.) Type d to the first textbox and l to the second, ie. to replace the "d" characters to "l". Now press "Replace all". See what I mean? The first "d" was not replaced by "l", but by the first letter of "small" ("s")... :) Thanks, cocinerox
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I agree. Opened .cls file, CTRL-H see http://i297.photobucket.com/albums/mm216/memiself/npperror.gif
It only did one replace (incorrectly).. "thisName" was changed to "VERSNAME". Should have been 4 replaces. Seems to have used the number of chars of find word but taken them form the green selected word.
Strangely, if copy/paste whole to new, then do search/replace in exactly same way, it works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! In version 5.1.4 unicode (and in previous versions as well) there is a small bug in the "Replace all" feature (but it can be serious). Steps to reproduce: copy-paste for example the following line to a new document:
small duck duck duck duck
Save the file (important!). Now move the caret to the very first position. Press Ctrl-H (Replace...). (Note that "small" is now selected.) Type d to the first textbox and l to the second, ie. to replace the "d" characters to "l". Now press "Replace all". See what I mean? The first "d" was not replaced by "l", but by the first letter of "small" ("s")... :) Thanks, cocinerox
Hi, this small problem still exists in v5.2 (Unicode). [Its status in the Tracker is Pending.] Thanks, cocinerox
I agree. Opened .cls file, CTRL-H see http://i297.photobucket.com/albums/mm216/memiself/npperror.gif
It only did one replace (incorrectly).. "thisName" was changed to "VERSNAME". Should have been 4 replaces. Seems to have used the number of chars of find word but taken them form the green selected word.
Strangely, if copy/paste whole to new, then do search/replace in exactly same way, it works.
Removed 5.1.4, installed 5.1.3 - Still happens
I tried this in version 4.6 (it's stable enough that I use this on my dev box) and I cannot reproduce this. So looks like it is a newer issue.
2C