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.
$x = <<<ABC foo bar baz ABC; The enclosing ABC is not highlighted. When I delete the space between foo and bar, ABC becomes correctly coloured. When I write a space after baz, ABC becomes correctly coloured. Product Version = NetBeans IDE Dev (Build 201210280001) Operating System = Linux version 3.2.0-32-generic-pae running on i386 Java; VM; Vendor = 1.7.0_09 Runtime = OpenJDK Client VM 23.2-b09
Created attachment 127142 [details] IDE log
Lexer for heredocs and nowdocs is a bit crappy, I know that :/ Will try to look at it. Thanks.
P3 since it breaks coloring of whole file.
Fixed in web-main #255d4fbedfd3
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/255d4fbedfd3 User: Ondrej Brejla <obrejla@netbeans.org> Log: #221484 - HEREDOC syntax highlighting
Integrated into 'main-golden', will be available in build *201211090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/93e474f63b06 User: Ondrej Brejla <obrejla@netbeans.org> Log: #221484 cont'd - HEREDOC syntax highlighting (improved whole lexing)