Thread overview
[phobos] Initial Phobos style guide proposal
Mar 31, 2011
Jacob Carlborg
Mar 31, 2011
Jonathan M Davis
March 31, 2011



----- Original Message -----
> From:Jonathan M Davis <jmdavisProg at gmx.com>

> I take it that you don't have syntax highlighting on at all then? Since pretty much _any_ code editor is going to mark comments in a different color unless you tell it not to, and since you're apparently using /** */, you're not going to run into problems with it not being supported due to it being D-only.

Yes, my editor does have syntax highlighting.? But...

Look at this: https://github.com/D-Programming-Language/phobos/blob/master/std/container.d

No syntax highlighting.

-Steve




March 31, 2011
On 31 mar 2011, at 22:08, Steve Schveighoffer wrote:

> 
> 
> 
> 
> ----- Original Message -----
>> From:Jonathan M Davis <jmdavisProg at gmx.com>
> 
>> I take it that you don't have syntax highlighting on at all then? Since pretty much _any_ code editor is going to mark comments in a different color unless you tell it not to, and since you're apparently using /** */, you're not going to run into problems with it not being supported due to it being D-only.
> 
> Yes, my editor does have syntax highlighting.  But...
> 
> Look at this: https://github.com/D-Programming-Language/phobos/blob/master/std/container.d
> 
> No syntax highlighting.

Other files have syntax highlighting, don't know why that one doesn't.

> -Steve
> 
> 
> 
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos

-- 
/Jacob Carlborg

March 31, 2011
On 2011-03-31 13:25, Jacob Carlborg wrote:
> On 31 mar 2011, at 22:08, Steve Schveighoffer wrote:
> > ----- Original Message -----
> > 
> >> From:Jonathan M Davis <jmdavisProg at gmx.com>
> >> 
> >> I take it that you don't have syntax highlighting on at all then? Since
> >> pretty
> >> much _any_ code editor is going to mark comments in a different color
> >> unless you tell it not to, and since you're apparently using /** */,
> >> you're not going
> >> to run into problems with it not being supported due to it being D-only.
> > 
> > Yes, my editor does have syntax highlighting.  But...
> > 
> > Look at this: https://github.com/D-Programming-Language/phobos/blob/master/std/contain er.d
> > 
> > No syntax highlighting.
> 
> Other files have syntax highlighting, don't know why that one doesn't.

I'm pretty sure that it's something that happens when the file or diff gets past a particular size. It seems to decide that it would take too much to do the syntax highlighting and skips it. I could be wrong, but I _think_ that that's what's happening.

- Jonathan M Davis
April 01, 2011
On Thu, 2011-03-31 at 22:25 +0200, Jacob Carlborg wrote:
> On 31 mar 2011, at 22:08, Steve Schveighoffer wrote:
> > No syntax highlighting.
> 
> Other files have syntax highlighting, don't know why that one doesn't.


http://support.github.com/discussions/repos/4380-why-no-syntax-highlighting

-Lars