Page 1 of 1

Find and Replace bug

Posted: Mon Mar 14, 2011 1:33 pm
by danf84
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

Posted: Wed Mar 16, 2011 5:37 am
by Instructor
danf84
1. Make selection.
2. Open Replace dialog.
3. Fill "What:" and "With:".
4. Check "In selection".
5. Press "Replace all".

You can turn on option to autocheck "In selection" in settings of the program.

Posted: Mon Mar 21, 2011 11:27 am
by danf84
"Replace All" works, but half the times I would want to replace some parts of the text, not every part. That's currently not possible in Akelpad for reasons outlined above (no selection within selection support).

Dan

Posted: Mon Apr 11, 2011 11:49 am
by danf84
Can you tell me if you're EVER going to do this so I can consider whether to look elsewhere or try to write a plugin/modify the source.

If you're still unsure about what I mean, look at the screenshot.

Image[/img]

Posted: Mon Apr 11, 2011 1:30 pm
by Instructor
danf84
I understand your request. Currently this is not implemented.