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 194279 - Inconvenient text search change in 7.0
Summary: Inconvenient text search change in 7.0
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: David Strupl
URL:
Keywords: REGRESSION
: 194223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-12 18:36 UTC by Emperorlou
Modified: 2011-01-21 11:30 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 Emperorlou 2011-01-12 18:36:50 UTC
Press Ctrl+F to bring up search and then hit Home or End on the keyboard and you'll find your search disappears. In 6.9.1, it would go to the beginning or end of the last searched text in the search box. The only workaround is to use the mouse to click in the search text box to go where you want to go.

Additionally, multiple sequential searches is now broken. It used to be possible to use Ctrl+F, type your search, enter, enter, enter (where hitting enter would search for the next iteration of the string). Pressing enter now after the first result is found now closes the search box. 

I believe these two problems are related.

Product Version = NetBeans IDE 7.0 Beta (Build 201011152355)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_21
Runtime = Java HotSpot(TM) Client VM 17.0-b16
Comment 1 Marian Mirilovic 2011-01-14 09:32:34 UTC
*** Bug 194223 has been marked as a duplicate of this bug. ***
Comment 2 Yulia Novozhilova 2011-01-21 11:04:21 UTC
David, it looks like one of your changes in editor/src/org/netbeans/modules/editor/impl/SearchBar.java starting from 11.10.2010 caused this regression.
Comment 3 David Strupl 2011-01-21 11:30:34 UTC
I think this has been fixed since beta. Please try some dev build from 2011 or Beta2 (when it is out) and report back if there is still a problem.