Results 1 to 4 of 4

Thread: Test: Colouring last word of VBcode

  1. #1

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Arrow Test: Colouring last word of VBcode

    The last word needs a line break or space after it to make it coloured.

    [vbcode]Private Sub SillySub()
    BlahVar = BlahFunc(BlahVar)
    End Sub[/vbcode]
    VB Code:
    1. Private Sub SillySub()
    2.     BlahVar = BlahFunc(BlahVar)
    3. End Sub

    [vbcode]Private Sub SillySub()
    BlahVar = BlahFunc(BlahVar)
    End Sub
    [/vbcode]
    VB Code:
    1. Private Sub SillySub()
    2.     BlahVar = BlahFunc(BlahVar)
    3. End Sub
    Last edited by penagate; Jun 4th, 2005 at 12:26 PM.

  2. #2

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: more vbcodes testing

    Another line break after last word test
    [vbcode]Private Function TestFunc(ByVal TestArg As Integer) As Long
    TestFunc = TestArg * TestArg
    End Function[/vbcode]
    VB Code:
    1. Private Function TestFunc(ByVal TestArg As Integer) As Long
    2.     TestFunc = TestArg * TestArg
    3. End Function

    Space after last word test
    [vbcode]Public[/vbcode]
    VB Code:
    1. Public
    [vbcode]Private[/vbcode]
    VB Code:
    1. Private

    [vbcode]Public [/vbcode]
    VB Code:
    1. Public
    [vbcode]Private [/vbcode]
    VB Code:
    1. Private

  3. #3
    Lively Member MET777's Avatar
    Join Date
    Apr 2005
    Posts
    76

    Re: Test: Colouring last word of VBcode

    very interesting. but what does it matter?
    --Matt

  4. #4

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Test: Colouring last word of VBcode

    It's a bug! All good programmers must fix bugs ...
    That having been said, it doesn't really matter much at all, just cosmetic

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