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 185204 - Quotation marks in comments of .ini files break the syntax highlighting
Summary: Quotation marks in comments of .ini files break the syntax highlighting
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2010-04-28 17:30 UTC by seanja
Modified: 2010-11-01 10:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seanja 2010-04-28 17:30:08 UTC
Product Version = NetBeans IDE 6.9 Beta (Build 201004200117)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_17
Runtime = Java HotSpot(TM) Client VM 14.3-b01


It seems that the ini parsing in the latest version thinks that a quotation mark in a comment means that the rest of the ini is within the quotation marks and is not highlighted properly.

;the following will not be coloured because of the apostrophe in its
; it's
[EXAMPLE]
EX=test

;the following will not be coloured because of the quotation mark
; "
[EXAMPLE]
EX=test
Comment 1 Dusan Balek 2010-11-01 10:46:38 UTC
Seems to work fine in the current dev build.