! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
find/replace appends instead of replaces
Status:
RESOLVED: FIXED
Product:
Mousepad
Component:
General

Comments

Description Mikel Ward 2008-10-27 05:38:45 CET
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".
Comment 1 Kamran Riaz Khan 2009-03-01 08:14:10 CET
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.
Comment 2 Denis Koryavov 2010-05-21 08:12:23 CEST
This happens only when loaded any clipboard manager (like xfce4-clipman).
Comment 3 Sasha Medvedev 2013-10-11 07:40:06 CEST
It seems that this bug, which was a leafpad legacy, is fixed in 0.3.0.
Comment 4 Matthew Brush editbugs 2013-10-11 07:41:59 CEST
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.

Bug #4526

Reported by:
Mikel Ward
Reported on: 2008-10-27
Last modified on: 2013-10-11

People

Assignee:
Matthew Brush
CC List:
4 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

Additional information