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 271477

Summary: Multiline string literals break JavaScript code highlighting
Product: javascript Reporter: volvpavl
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: An example

Description volvpavl 2017-09-14 09:49:47 UTC
Created attachment 165130 [details]
An example

Please see the attachment. This object literal is not parsed & highlighted correctly. If I randomly remove 2-3 lines from one of the multiline strings, or just put a line break before the first string literal, then everything would be ok.

Probably something relevant to https://netbeans.org/bugzilla/show_bug.cgi?id=257265