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.
Steps to reproduce (with todays build): - Open Tools -> Options -> Editor -> Formatting -> Java. - Select any category, say "Tabs and Indents". - Preview pane shows Java code, correctly highlighted. - Push "OK" button. - Open Tools -> Options -> Editor again. - Language is still "Java", Category is still "Tabs and Indents", but preview pane shows XML code from "All Languages". After changing category the code changes to corresponding Java code, but without syntax highlighting.
*** This issue has been marked as a duplicate of 141296 ***