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 181973 - local file auto-highlighting of selected text
Summary: local file auto-highlighting of selected text
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ruby
Depends on:
Reported: 2010-03-13 05:51 UTC by yadav
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description yadav 2010-03-13 05:51:25 UTC
it would be nice when I double click on text after it gets selected that all text with the exact match in the file are auto highlighted, this seems not to be the case or I am seeing a bug?
Comment 1 Peter Pis 2010-03-15 09:35:08 UTC
Double clicking works fine on Mac. Not sure about Linux.

There is mark occurrences features for java (please verify you settings in "Tools | Options | Editor " -> Mark occurrences) - selecting fields, variables ... should highlight all occurrences that exist in file (anyway, you should be able to navigate among them fast by ALT+UP (DOWN))

For general text selection, you can select desired piece of word and invoke "CTRL+F", entering the text there should highlight the occurences.
Comment 2 yadav 2010-03-17 21:39:55 UTC
ok it took a long while before highlighting started to work for me, not sure why?

however i do notice an annoying behavior with highlight feature. In a rails project if I click on a function definition, like:

  def  self.find_by_password_and_email( _password, _email )
    #... some code

the IDE will highlight something inside the function block and not the (referenced) function names used throughout the current file. if I click on the function name from a code referencing it, all the function names in current file get highlighted correctly.