Results 1 to 4 of 4

Thread: VBCode - comments on multiple lines aren't coloured

  1. #1

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

    VBCode - comments on multiple lines aren't coloured

    In VBCode tags, if a comment spans mulitple lines (using _ to continue the comment), only the first line is coloured green.

    There's a nice example in my post here:

    http://www.vbforums.com/showthread.p...38#post1547138

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Another problem with comments :

    VB Code:
    1. If 1 = 2 Then 'It will never happen ' you see the problem?

    The first part ('It will never happen ) isn't colored...


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    40
    i think the problem is with using an InStrRev to look for ' characters (or whatever the equivalent is in php)

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Maybe... Any luck?


    Has someone helped you? Then you can Rate their helpful post.

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