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 224625 - Editor Find locates cursor on second Instance
Summary: Editor Find locates cursor on second Instance
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.3
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-09 04:46 UTC by bht
Modified: 2013-01-10 03:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example java file (10.86 KB, application/octet-stream)
2013-01-09 04:46 UTC, bht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2013-01-09 04:46:26 UTC
Created attachment 130019 [details]
Example java file

How to reproduce:
- In Tools|Options|Editor|Search|Editor Search Behavor|Enter finish to search
- Open the attached file
- Press [Ctrl+F]
- Type the search String GROOVE_HORIZONTAL_OFFSET_FROM_OUTSIDE_EDGE
- Hit [Enter]

Expected behavior

The editor should locate on line 25 but it jumps to line 83

I would not be surprised if this reproduces differently depending on conditions e.g. different computers.

But here it reproduces 80% of the time. I tried with a new userdir - reproduces.
Comment 1 bht 2013-01-09 04:48:01 UTC
Build 201301050001
Comment 2 Milutin Kristofic 2013-01-09 12:54:30 UTC
Thank you for reproducible example. It's fixed to 7.3

http://hg.netbeans.org/jet-main/rev/90a83404b176
Comment 3 Quality Engineering 2013-01-10 03:33:31 UTC
Integrated into 'main-golden', will be available in build *201301100107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/90a83404b176
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #224625 - Editor Find locates cursor on second Instance