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 161334 - CSS comment bracket matching doesn't work
Summary: CSS comment bracket matching doesn't work
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 11:37 UTC by Jindrich Sedek
Modified: 2014-10-06 13:24 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 Jindrich Sedek 2009-03-27 11:37:52 UTC
use this code in CSS file
-----------------
/*
 SOME COMMENT
*|/
-----------------
set cursor at position of "|" -> the comment start bracket "/*" should be highlighted
I'm not sure it's a defect or an enhancement, but it works well in HTML and JSP
Comment 1 Marek Fukala 2009-04-27 15:50:03 UTC
the defect is reproducible
Comment 2 Marek Fukala 2009-04-27 15:53:35 UTC
Currently we just delegate to BracesMatcherSupport.defaultMatcher(...). The default matcher matches (', ')', '[', ']',
'{', '}', '<', '>' characters only. To fix the comment issue I need to fully implemenmt the BracesMatcher API.