! 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 !
Mousepad search/replace does not replace first occurance
Status:
RESOLVED: DUPLICATE
Product:
Mousepad
Component:
General

Comments

Description Helmut Duregger 2007-10-25 13:25:34 CEST
Mousepad version: 0.2.12 (Ubuntu Gutsy)

Steps to reproduce:

1. open mousepad on an empty file or just search for some existing word
   in an existing document. The following steps stand for an empty file.
2. enter the letter 'a' in successive lines like e.g.:

<begin document>

a
a
a
a

<end document>

3. Search/Replace.../
   Find what: a
   Replace with: b
4. Hit "Find and Replace" once
5. Hit "Yes" to replace first occurence
6. Witness how 'b' is added after 'a' but 'a' is not replaced, like e.g.:

ab
a
a
a

7. From there on replacing works and 'a' will be replaced by 'b'

Additional note:
It does not seem to be important where the cursor is
before starting the search. It always seems to effect the first
occurrence of the word.
Comment 1 Nick Schermer editbugs 2008-01-13 12:10:57 CET

*** This bug has been marked as a duplicate of bug 2928 ***

Bug #3622

Reported by:
Helmut Duregger
Reported on: 2007-10-25
Last modified on: 2008-01-13

People

Assignee:
Erik Harrison
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information