Results 1 to 2 of 2

Thread: [VBCode] dodgyness

  1. #1

    Thread Starter
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    [Highlight=VB] dodgyness

    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:
    VB Code:
    1. 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:

    VB Code:
    1. wrd.DisplayAlerts = 0 'do not show Word messages (such as "printing hasn't finished yet")
    from: http://www.vbforums.com/showthread.p...71#post1365871


    Any chance of having it recified?

    Si

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Thanks for that. I'll make sure its looked into
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width