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 174270 - [68cat] [highlighting] Code highlighting shows where no text exists
Summary: [68cat] [highlighting] Code highlighting shows where no text exists
Status: RESOLVED INCOMPLETE
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 04:25 UTC by esmithbss
Modified: 2009-10-23 13:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Annotated Screen Capture (127.98 KB, image/png)
2009-10-10 04:28 UTC, esmithbss
Details
IDE Log File (83.89 KB, text/plain)
2009-10-10 05:40 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-10-10 04:25:56 UTC
[ BUILD # : 200910071536 ]
[ JDK VERSION : 1.6.* ]

See Screenshot.

There are places where the highlighting within a ruby method is
incorrectly applied.

The screenshot highlights 10 separate spots within one method where
the highlighter is incorrect.
Comment 1 esmithbss 2009-10-10 04:28:08 UTC
Created attachment 89242 [details]
Annotated Screen Capture
Comment 2 esmithbss 2009-10-10 05:40:41 UTC
Created attachment 89246 [details]
IDE Log File
Comment 3 Erno Mononen 2009-10-12 13:27:32 UTC
Looks pretty bad. Apparently there are some structures in the method (or elsewhere in the file) that the parser can't 
handle well when it comes to source positions. I'll try to construct a minimal test case for this based on the 
screenshot.
Comment 4 Erno Mononen 2009-10-23 13:14:49 UTC
Unfortunately I couldn't reproduce this based on the screenshot, I guess some context that is not visible in the 
screenshot triggers this. Do you think you could attach a sample file where this happens?