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.
NetBeans IDE Dev (Build 061214) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Linux version 2.6.17-10-generic running on i386 cs_CZ (nb); UTF-8 #191 ----------------------- - have a project, create new .rb file - if you write string = "Some string (without closing string literal by quote), everything what follows to end of file is background-colored red. IMHO this is not consistent with standard e.g. java editor manner?! Syntax error marking should be enough.
Fixed (in build #200). The lexer now backs up the input to the original line where the string was initiated such that that line is returned as the full error token. Usually, unterminated input ends up showing everything with a red background. You usually can't tell, because the red background is hidden by the "current line" highlighting. If you move the caret off the unterminated string line, you can see it. In any case, before my fix, the lexer would scan to the end of input looking for the end of the string, and then abort. This meant the entire end of the input would be marked as erroneous. With my fix, only the current line shows up that way, and "normal" lexing resumes from the next line (as if the input had been terminated there.)
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.