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.
If one opens a file, which is not in any project and contains PHP snippet inside short open tags, it's not lexed properly. Probably because of "allow short open tags" is disabled by default. Imho this option should be enabled by default for non-project files. Evaluate, thanks.
Probably patch candidate?
Fixed. Guys on CC, pleae verify so I can backport it to the NB 7.4. Thanks. http://hg.netbeans.org/web-main/rev/feddc64b628a
Verified Product Version: NetBeans IDE Dev (Build 201311130002) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted to the releases repository, branch release74. http://hg.netbeans.org/releases/rev/4995bc0ef887
Verified. Product Version: NetBeans IDE 7.4 (Build 201311141216) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Integrated into 'main-silver', will be available in build *201311170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/44aca58e8f05 User: Ondrej Brejla <obrejla@netbeans.org> Log: Fixed failing test. Default behavior of short open tags changed because of issue #238257 and changeset feddc64b628a.