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 134582

Summary: Editing CSS causes JSP Sytax Highight to fail
Product: web Reporter: ads_green <ads_green>
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Syntax Highlighting Failure

Description ads_green 2008-05-06 10:52:23 UTC
NetBeans IDE 6.1 (Build 200804211638) 

When editing large standalone CSS files or occasionally when editing inline "style" HTML elements in a JSP, the color 
coding synyax highlighter fails and highlights random words with random colour that seem to have no reltaion to the 
code.

Once this happens the only method to recover the syntax highlighting is to completely restart the netbeans. Any JSP or 
CSS file loaded after this error occurs is affected by the problem regardless of it's location in the project 
hierarchy.


One odd behaviour is that once failed, if you open a JSP file for a split second the highlighting is correct and then 
it re-highlights everything completely wrong.

Auto complete continues to work fine as does highlighting of open/close elements.
Comment 1 ads_green 2008-05-06 10:53:22 UTC
Created attachment 61077 [details]
Syntax Highlighting Failure
Comment 2 Marek Fukala 2008-05-06 12:20:03 UTC
It is very likely duplicate of issue 133402 which will go to release61 patch 2 - can you please verify with latest daily
trunk build? 

*** This issue has been marked as a duplicate of 133402 ***