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 162603 - "Search Selection" is disabled when selecting less than one line
Summary: "Search Selection" is disabled when selecting less than one line
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-14 15:46 UTC by joachim_n
Modified: 2009-04-17 09:44 UTC (History)
0 users

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 joachim_n 2009-04-14 15:46:17 UTC
Select text. Do Replace. You can choose to replace within the selection.
Now double-click to select a word. Do Replace. The 'search within selection' box is greyed out, for no reason I can
fathom. For instance, I might want to replace all the _ in a variable name with - to use as a css class.
Comment 1 Alexei Mokeev 2009-04-15 14:01:23 UTC
Steps:

1. Select something in the editor but make sure not to select end of line.
2. Invoke Replace dialog(Ctrl+H) and notice that "Search selection" is grayed out
Comment 2 Alexey Butenko 2009-04-17 09:44:43 UTC
changeset 7b6109d9ec2b