Appearance of "::" in IDE

May 20, 2008
12,170
133
Syracuse, NY, USA
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?
 
May 20, 2008
12,170
133
Syracuse, NY, USA
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?

It looks better with another font.
 

rconn

Administrator
Staff member
May 14, 2008
12,556
167
> ---Quote (Originally by vefatica)---
> 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?
> ---End Quote---
> It looks better with another font.

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
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
Re: Appearance of "::" in IDE

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?

Because comments in general are green and italicized, and many people use a double colon to introduce a comment.
 
May 20, 2008
12,170
133
Syracuse, NY, USA
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
 
May 20, 2008
12,170
133
Syracuse, NY, USA
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
 
D

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:

> ---Quote (Originally by vefatica)---
> 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?
> ---End Quote---
> Because comments in general are green and italicized, and many people use a double colon to introduce a comment.
>
>
>
>
>
-----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-----
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
Re: Appearance of &quot;::&quot; in IDE

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

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
 

Similar threads