1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Appearance of "::" in IDE

Discussion in 'Support' started by vefatica, Dec 29, 2009.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,962
    Likes Received:
    30
    Why, in IDE, does "::" look like a pair of italicized semicolons? That is, the two dots that comprise the symbol are not the same.
    I don't really care if it's green and italicized, but couldn't it look like (um) a colon?
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,962
    Likes Received:
    30
    It looks better with another font.
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,863
    Likes Received:
    83
    Not reproducible here. What font are you using?

    (Note that the color & italicization is a function of your schema, in this
    case _bat.schclass, so if you don't like it you can redefine it.)

    Rex Conn
    JP Software
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Re: Appearance of "::" in IDE

    Because comments in general are green and italicized, and many people use a double colon to introduce a comment.
     
  5. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,962
    Likes Received:
    30
    On Tue, 29 Dec 2009 20:15:06 -0600, Charles Dye <> wrote:

    |Because comments in general are green and italicized, and many people use a double colon to introduce a comment.

    I know that. I was using Times
    --
    - Vince
     
  6. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,962
    Likes Received:
    30
    On Tue, 29 Dec 2009 20:15:06 -0600, Charles Dye <> wrote:

    |Because comments in general are green and italicized, and many people use a double colon to introduce a comment.

    I know that. I was using Times New Roman, and with that font, an italicized
    colon looks like a semicolon.
    --
    - Vince
     
  7. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Re: Appearance of &quot;::&quot; in IDE

    Sorry. I should have done a better job of reading, instead of answering a question you didn't ask.
     
  8. drrob1

    drrob1 Guest

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    If I remember correctly, a double colon :: introduces a regex in some
    contexts.

    I could never remember in which contexts this is true, though

    Charles Dye wrote:

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iEYEARECAAYFAks6xPQACgkQVRqaVGo2lhybVACg0zHNBohhBFui6Fal3tme8Us5
    EaUAn3cCOUJJ0bvpnQScx3h1jqFWfA+n
    =qpHb
    -----END PGP SIGNATURE-----
     
  9. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Re: Appearance of &quot;::&quot; in IDE

    You're right. It might make more sense to catch the double colon only at the start of a line. If you like, you can do this by changing line 160 of _bat.schclass from

    Code:
    previous:tag = @eol, ' ', '\t' 
    to

    Code:
    previous:tag = @eol 
     

Share This Page