PDA

Click to See Complete Forum and Search --> : [VBCode] dodgyness


si_the_geek
Feb 21st, 2003, 07:25 AM
Hi folks,

I've noticed for a while that the VBCode tags don't handle colouring of comments too well. If you have any extra ' chars after the first, then the last one is counted as the start of the comment - and as we all know this is not the way it is done in VB itself.

eg:

End 'This isn't very good coding style



On top of this, I have noticed today that there is a problem if the final quote is inside double-quotes - it doesn't treat it as a comment at all, eg:


wrd.DisplayAlerts = 0 'do not show Word messages (such as "printing hasn't finished yet")

from: http://www.vbforums.com/showthread.php?s=&postid=1365871#post1365871


Any chance of having it recified?

Si

plenderj
Feb 21st, 2003, 07:57 AM
Thanks for that. I'll make sure its looked into :)