Results 1 to 10 of 10

Thread: Code coloring errors

  1. #1

    Thread Starter
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    Code:
    ' Error 1:
    If TypeOf MyControl Is CommandButton Then Call ColorWordInBlue("TypeOf")
    
    ' Error 2:
    Remove the problems with green coloring! In a Rem-keyword remark,
    ' there must be a space after "Rem" for it to be considered a remark.
    
    ' Error 3:
    On Local Error Resume Next ' IsBlue("Local") = False, ShouldBeBlue("Local") = True
    
    ' Error 4:
    SomeCodeGoesHere ' Something is wrong with remarks-after-code... Aren't these colors wrong?
    ' Well, it's working OK if it's not after code.
    
    ' Error 5:
    MyString = "Well... If some of this Is colored blue, Then there's definitely a problem... Correct Me if I'm wrong."
    
    ' Error 6:
    ' The following line should be green, and the underline should be black. _
    But they are not.
    Administration? Are you there?
    Get fixin'!

  2. #2
    Guest
    [code]

    Forgot the ending...

  3. #3
    Guest
    Well, I guess John will not have a good weekend while James goes crusing in Cyberland.

    While that Is real, we can say "For you is an: Each !"

    Function.Sub is obvious

    [/code]

  4. #4
    Guest
    Well, I guess John will not have a good weekend while James goes crusing in Cyberland.

    While that Is real, we can say "For you is an: Each !"

    Function.Sub is obvious
    Code:
    MsgBox "For Next Loop!"
    Remove it Is of course

  5. #5
    Guest
    Noticed? How my 2nd post was messed up? The same happened to Dennis Wrenn.

  6. #6
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593
    We do know about the limitations about the code colouring algorithms, but it is very hard to write one that counts for all prossible occurences while still being light and fast.

    Consider it work-in-progress.

    John

  7. #7
    Guest
    Yes! We actually had an administrator responding to this post! That is VERY rare these days!

  8. #8
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593
    What was that last comment about Escaflowne? Even if we do not reply to posts, we make a point of reading EVERY post in this forum, as well as looking over the General forum frequently.

    John

  9. #9
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yeah...be kind to our administrators. I'm sure they have better things to do occasionally than spend all day going through the forums .
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  10. #10
    Guest
    OK, I was just kidding.

    Why are some people too sensitive?

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