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 190962 - Ruby Mark Occurrences Behaviour Broken?
Summary: Ruby Mark Occurrences Behaviour Broken?
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@ruby
Depends on:
Reported: 2010-10-13 05:33 UTC by Wardrop
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

The proofs in the pudding (14.54 KB, image/png)
2010-10-13 05:33 UTC, Wardrop
Screenshot #2 (20.40 KB, image/png)
2010-10-13 05:45 UTC, Wardrop

Note You need to log in before you can comment on or make changes to this bug.
Description Wardrop 2010-10-13 05:33:24 UTC
Created attachment 102378 [details]
The proofs in the pudding

Netbeans has this weird bug, where the first 4 characters are marked as an occurrence, no matter what. It seems to apply to all Ruby files including ERB files. If I create 3 line breaks, then enter text on the forth line of a file, the first character on the forth line is highlighted as an occurrence, in addition to the previous 3 lines, as together they make up the first 4 characters of the file.

I've attached a screenshot indicating the rather obvious problem.
Comment 1 Wardrop 2010-10-13 05:45:01 UTC
Created attachment 102379 [details]
Screenshot #2
Comment 2 Wardrop 2010-10-13 05:47:47 UTC
I'd like to also that there are various other highlighting bugs which seems to be related to the marked occurrences bug mentioned. I've attached a second screenshot, in which you see a few things. Firstly, non-occurrences are being marked as occurrences. Also, key words such as "require" and "get" have their last letter un-highlighted. This is more obvious in other themes.