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.
Created attachment 126501 [details] Syntax Highlighting takes a few seconds to load up Netbeans seems to suffer a performance hit when opening and editing CSS files. I've attached a screenshot that shows what happens for a couple seconds after opening a CSS file; the highlighting seems to need a few seconds to take effect. The file I opened was only about 300-400 lines of code. I could live with that though, but it's annoying when I'm writing a line of CSS code and the highlighting doesn't take effect until a few seconds after I'm finished typing. It seems that the larger the file is, the slower it performs. I tried opening a CSS file with over 2000 lines of code and it was even more sluggish. I doubt this is a hardware issue since I'm running on a multi-core processor with 8GB of memory
Probably a parser-based highlighting, not a lexer-based one, reassigning.
Yes, the css coloring is mostly parser based. Can you please attach the file here or just give it a try in latest dev builds? I've addressed some performance issue related to parsing/css source model creation recently so it should help.
no user feedback, closing as fixed then.