1. Type "a:b:c" 2. Press <Ctrl>+<H> to open the find/replace dialog 3. Enter ":" in the "Find what" field and "=" in the Replace with field 4. Click "Find and Replace" It turns into "a:=b:c" instead of "a=b:c".
Created attachment 2198 Workaround for losing replacement selection in textbuffer after call to gtk_dialog_run() I'm not able to figure out why the call to gtk_dialog_run() makes the textbuffer lose its selection on *first* replacement (it works perfectly on subsequent ones). The patch however provides a quick workaround for the bug by saving selection marks and reloading them after the dialog returns.
This happens only when loaded any clipboard manager (like xfce4-clipman).
It seems that this bug, which was a leafpad legacy, is fixed in 0.3.0.
Closing as fixed since it can't be reproduced with lastest version, which is a total re-write of version this bug is about, and which is no longer maintained or supported. Please feel free to re-open and update the version on this bug or make a new report if you experience it still in latest version.