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 225832 - HereDoc syntax highlighting broken with variable followed by double quote
Summary: HereDoc syntax highlighting broken with variable followed by double quote
Status: RESOLVED DUPLICATE of bug 225549
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 12:37 UTC by modern-apocalypse
Modified: 2013-02-07 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Code I used to re-produce as an example (228 bytes, application/octet-stream)
2013-02-07 12:37 UTC, modern-apocalypse
Details
Screenshot of the problem (15.25 KB, image/png)
2013-02-07 12:38 UTC, modern-apocalypse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description modern-apocalypse 2013-02-07 12:37:11 UTC
Created attachment 131089 [details]
Code I used to re-produce as an example

I have just spotted a what I believe to be a bug in the syntax highlighter with PHP's HereDoc strings.

When you have double quotes after a variable the syntax highlighter and formatter treats the rest of the document as a string even past the HereDoc terminator.
Comment 1 modern-apocalypse 2013-02-07 12:38:31 UTC
Created attachment 131090 [details]
Screenshot of the problem
Comment 2 Ondrej Brejla 2013-02-07 12:39:46 UTC

*** This bug has been marked as a duplicate of bug 225549 ***