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 93994 - Weird coloring inside assertions.rb
Summary: Weird coloring inside assertions.rb
Status: CLOSED DUPLICATE of bug 93990
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 15:09 UTC by Tomas Danek
Modified: 2007-07-03 14:46 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 Tomas Danek 2007-02-02 15:09:42 UTC
#272

- open assertions.rb
- look at line 51: <?> expected but was
- this line is displayed in three colors as well as other coloring below..
seems to me like this might be a duplicate of issue 93990, but since no AE was
thrown this time, filing it separately, for sure..
Comment 1 Torbjorn Norbye 2007-02-09 05:19:54 UTC
Yes, it is a duplicate - the colors are wrong because the Ruby lexer is getting
out of sync with the NetBeans lexer wrapping its tokens.

If the here-document text is longer than the text after the input delimiter, you
get weird colors; if it is shorted you get exceptions (because once the
difference is negative invalid tokens are created.)

*** This issue has been marked as a duplicate of 93990 ***
Comment 2 Tomas Danek 2007-02-09 12:30:20 UTC
-> closing
Comment 3 Jiri Kovalsky 2007-07-03 14:06:04 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 4 Jiri Kovalsky 2007-07-03 14:46:20 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.