On Friday, January 28, 2011 14:02:34 Don wrote: > Jacob Carlborg wrote: > > On 2011-01-26 20:30, Jonathan M Davis wrote: > >> On Wednesday, January 26, 2011 11:21:55 Brad Roberts wrote: > >>> On 1/26/2011 7:13 AM, Steven Schveighoffer wrote: > >>>> Anyone have any clue why this file is properly syntax-aware: > >>>> > >>>> https://github.com/D-Programming-Language/druntime/blob/master/src/rt/ > >>>> lif > >>>> > >>>> etime.d > >>>> > >>>> but this file isn't > >>>> > >>>> https://github.com/D-Programming-Language/druntime/blob/master/src/cor > >>>> e/t > >>>> > >>>> hread.d > >>>> > >>>> I'm still not familiar at all with git or github... > >>>> > >>>> -Steve > >>> > >>> I'm going to guess it's filesize. Totally a guess, but consider that > >>> adding highlighting costs additional markup. The file that's not > >>> highlighted is over 100k, the file that is is only(!) 62k. > >> > >> LOL. It won't even _show_ std.datetime. You may be on to something > >> there. > >> > >> - Jonathan M Davis > > > > If github even won't show the file you clearly has too much in one file. > > More than 34k lines of code (looking at the latest svn), are you kidding > > me. That's insane, std.datetimem should clearly be a package. I don't > > know why Andrei and Walter keeps insisting on having so much code in one > > file > > > > It takes about 10 seconds to get syntax highlighting at the bottom of > > the file in TextMate. > > You can compile the whole of Phobos in that time... <g>
LOL. Yeah. Well, I wrote it using gvim, and it handles it just fine. And honestly, in some respects, it's actually easier to deal with it all in one file than it would be if it were split it up. The unittests and documentation are probably 2/3 of the file anyway. So, yeah. It's large. But it works. - Jonathan M Davis