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 214847 - Find selection does not work when switching the files
Summary: Find selection does not work when switching the files
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: REGRESSION
: 214671 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-27 08:18 UTC by Jiri Prox
Modified: 2012-06-28 08:35 UTC (History)
2 users (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 Jiri Prox 2012-06-27 08:18:03 UTC
Find selection (ctrl-F3) and the following find next (F3) action does not work correctly when switching the files. 

Steps to reproduce:
1) put cursor on any word
2) press ctrl-F3
-> all occurrences of word under cursor are found, F3 jumps to next occurrence
3) open another file
4) press F3
-> no occurrences are found
-> in the status bar there is message about found occurrence in original file



Product Version: NetBeans IDE 7.2 RC1 (Build 201206252201)
Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03
System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.2rc1
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.2rc1
Comment 1 Milutin Kristofic 2012-06-27 11:59:03 UTC
http://hg.netbeans.org/jet-main/rev/70960dbb4867
Comment 2 Milutin Kristofic 2012-06-27 12:00:25 UTC
*** Bug 214671 has been marked as a duplicate of this bug. ***
Comment 3 Milutin Kristofic 2012-06-27 13:34:09 UTC
Additional fix for textsearch highlighting http://hg.netbeans.org/jet-main/rev/6f887d7467c4 after switch text file
Comment 4 Jiri Prox 2012-06-27 13:55:10 UTC
verified in trunk
Comment 5 Milutin Kristofic 2012-06-27 14:08:31 UTC
in 7.2
70960dbb4867 transplanted to f55546f3d009
6f887d7467c4 transplanted to e622fdf78b4f
Comment 6 Quality Engineering 2012-06-28 04:54:25 UTC
Integrated into 'main-golden', will be available in build *201206280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/70960dbb4867
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #214847 - Find selection does not work when switching the files
Comment 7 Quality Engineering 2012-06-28 05:08:19 UTC
Integrated into 'releases', will be available in build *201206272359* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/f55546f3d009
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #214847 - Find selection does not work when switching the files
Comment 8 Jiri Prox 2012-06-28 08:35:41 UTC
verified in 7.2