Community
Participate
Working Groups
Build ID: M20090211-1700 Hi, Line comments are not highlighted correctly when on first line. Example: function hasAttribute(oNode, sName) { // ...asd } If you make a file containing this code, the ‘...asd’ comment will show in black, instead of green like it is supposed to. Note that you may need to close/reopen the document. If you start editing the comment, the colour will change to green, and will remain so until you reload the document. If you add a statement on the first line before the comment, the issue will disappear: function hasAttribute(oNode, sName) { var x = 1; // ...asd } ~Laurens
Using JSDT 1.0.4, by the way.
This is fixed in WTP 3.1. *** This bug has been marked as a duplicate of bug 263222 ***