Appearance of "::" in IDE

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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?
 

rconn

Administrator
Staff member
May 14, 2008
10,160
86
#3
> ---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
3,415
40
Albuquerque, NM
prospero.unm.edu
#4
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.
 
#5
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
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
#8
-----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
3,415
40
Albuquerque, NM
prospero.unm.edu
#9
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