Re: Bracket highlighting while line is commented out

Have to say -1 for this.

If I comment out some code it's because I don't want anything to recognise it, how would the following situation be handled for example:

Code:

if (test != 1) {// if (test == 1) {alert("test is not 1");}

Highlighting the brackets would end up in miss-matched brackets.

Actually, just tested this in WeBuilder and it does highlight the brackets in the comment, and never highlights the brackets on the 1st line. Not noticed this before.
Can be seen in this screenshot:
If the image doesn't show try this link: http://sites.google.com/site/swindonmike/comments
Statistics: Posted by MikeyB — Fri Oct 22, 2010 10:23 am