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.
Entering a multi-line comment in a .sql file like this: /****************************************************************************** * comment * ******************************************************************************/ drop table foo; create table foo ( id number ); causes the remaining code to be colored grey like a comment.
Created attachment 122600 [details] proposed patch v1 with unittest Nice catch! You had to have an even number of stars before the closing slash of the comment to trigger this bug. The attached patch fixes this and the unitest ensures that it stays that way. It'll take a netbeans developer to commit the patch to the mercurial repository.
Patch applied as http://hg.netbeans.org/core-main/rev/9f4801089117 Great job. Thank you very much, Matthias.
Integrated into 'main-golden', will be available in build *201208070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9f4801089117 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #216174: Syntax highlighting in SQL files confused by multi-line comments
*** Bug 218503 has been marked as a duplicate of this bug. ***