This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210094 - Search and replace skips matches
Summary: Search and replace skips matches
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: REGRESSION
: 210099 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-26 11:36 UTC by christiaensm
Modified: 2012-03-26 15:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description christiaensm 2012-03-26 11:36:40 UTC
To reproduce:
- create a Java (or C) project
- in a file, put 10 times "foo" on separate lines
- press CTRL-H to do search and replace
- replace "foo" by "bar"
- press the replace button a couple of times

You will see that the first "foo" is replaced by "bar", the second one not, the third one is replaced again ... and so on.

I would expect all consecutive "foo" to be replaced one by one each time I press the replace button. 

I'm using daily build 201203250401
Comment 1 Milutin Kristofic 2012-03-26 12:11:34 UTC
*** Bug 210099 has been marked as a duplicate of this bug. ***
Comment 2 Milutin Kristofic 2012-03-26 15:10:35 UTC
http://hg.netbeans.org/jet-main/rev/56fd5ad3c66b