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 33717 - Find: should show the matching text
Summary: Find: should show the matching text
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: UI
: 7311 31381 32947 (view as bug list)
Depends on:
Blocks: 33418
  Show dependency tree
 
Reported: 2003-05-19 08:42 UTC by eadams
Modified: 2004-08-13 12:12 UTC (History)
4 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 eadams 2003-05-19 08:42:04 UTC
The "Find in Files" dialog has a "Position in File"
text area that shows the line and column number pairs
for the matches within a given file.

In NB 3.3, the tooltip over these items showed the 
text from the matching line.  In NB 3.5 the text
area says:

    position <line>:<col>

while the tooltip says
  
    line <nn>, columne <mm>

Its the same info, just written differently.

The line/col info is not that helpful and it would be
much more helpful if the text of the matching line
were
displayed.  Something like:

    Line <nn>:  This is a line that matched the string

If the line is long, then it would be nice to
elide parts
of its so the matching text is visible.

Finally, it would also be good to show the matching
text in bold, however, with regular expressions this
might be difficult.

With this suggestions, I'm not sure there is any value
in having tooltips.
Comment 1 Marian Petras 2003-05-19 09:57:25 UTC
This issue is already tracked in issue #32947. Since this report
contains more suggestions on possible solutions, I close the original
report as a duplicate of this one.

Report #32947 still contains some useful information and tips.
Comment 2 Marian Petras 2003-05-19 09:58:54 UTC
*** Issue 32947 has been marked as a duplicate of this issue. ***
Comment 3 Marian Petras 2003-08-04 10:02:13 UTC
*** Issue 7311 has been marked as a duplicate of this issue. ***
Comment 4 Marian Petras 2003-08-04 10:06:34 UTC
Issue #7311 claims the same thing as this one. So I close issue #7311
as a duplicate of this one. Issue #7311 contains some useful
suggestions on solving the problem.
Comment 5 Marian Petras 2003-08-04 10:10:11 UTC
In order to get suggestions on this issue's solutions, read:
 - comments in this issue report
 - comments in issue report #32947
 - comments in issue report #7311
Comment 6 _ mihmax 2003-08-04 12:45:12 UTC
*** Issue 31381 has been marked as a duplicate of this issue. ***
Comment 7 _ mihmax 2003-08-04 12:45:16 UTC
*** Issue 31381 has been marked as a duplicate of this issue. ***
Comment 8 Marian Petras 2004-07-29 12:58:22 UTC
Fixed together with bug #19484 ("OOME when performing search on larger
FS").

The search results window is no longer split into two panels. When a
node representing a matching object is expanded, its subnodes display
matching lines found in the object's primary file. Within each line,
the matching text is in bold.