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 - Multiline string literals break JavaScript code highlighting
Summary: Multiline string literals break JavaScript code highlighting
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-14 09:49 UTC by volvpavl
Modified: 2017-09-14 09:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
An example (1.21 KB, application/javascript)
2017-09-14 09:49 UTC, volvpavl
Details

Note You need to log in before you can comment on or make changes to this bug.
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