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

Summary: CSS comment bracket matching doesn't work
Product: web Reporter: Jindrich Sedek <jsedek>
Component: CSS Visual ToolsAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.