Find and Replace bug
Posted: Mon Mar 14, 2011 1:33 pm
Hello, I believe there's a bug in Akelpad Find and Replace feature.
For example, say I highlight/select this line in the editor:
<INPUT TYPE="Button" NAME="btnFV_Old" VALUE="FV_Old" onClick="btnFV_Old_OnClick()">
I want to ONLY replace "Old" with "New" in the selected line, so I open the dialog with CTRL+R and the "What:" text box says Old, "With:" text box says New; I select "In selection". I hit "Find next"/"Replace", the first value it finds it replaces, but it lost the original selected line, the selection changed when it found the first item.
Borland Delphi 7 editor does this by retaining the original selection, and when it finds a match it uses a different highlighting color within the original selection. It would also be nice if AkelPad could prompt before replacing.
Dan
For example, say I highlight/select this line in the editor:
<INPUT TYPE="Button" NAME="btnFV_Old" VALUE="FV_Old" onClick="btnFV_Old_OnClick()">
I want to ONLY replace "Old" with "New" in the selected line, so I open the dialog with CTRL+R and the "What:" text box says Old, "With:" text box says New; I select "In selection". I hit "Find next"/"Replace", the first value it finds it replaces, but it lost the original selected line, the selection changed when it found the first item.
Borland Delphi 7 editor does this by retaining the original selection, and when it finds a match it uses a different highlighting color within the original selection. It would also be nice if AkelPad could prompt before replacing.
Dan