Yes, I see this too (ppc10.4.11, 3.3rc3). It seems that the syntax
colorisation doesn't detect comments if they come straight after a
number - try this and see which ones do/don't get coloured:
/* Pif( Pkey(\midinote) >= 68, rrand(-0.3, 0), rrand(-0.6, -0.3)) */
~lh = Pbind(
\instrument, \bells,
\midinote, Pseq([~lhPitches, ~lhPitches, 62, 62].flatten, 1),
\dur, Pseq([~rhythm, ~rhythm.reverse, 2.5, 2.5].flatten, 1),
\stretch, Pwhite(0.999, 1.001 /* Pif( Pkey(\midinote) >= 68,
rrand(-0.3, 0), rrand(-0.6, -0.3)) */),
\sustain, Pwhite(3.5, 4.0),
\db, Pwhite(-10.0, -8.0), /* Pif( Pkey(\midinote) >= 68,
rrand(-0.3, 0), rrand(-0.6, -0.3)) */
\pan, -0.2 /* Pif( Pkey(\midinote) >= 68, rrand(-0.3, 0),
rrand(-0.6, -0.3)) */
);
/* Pif( Pkey(\midinote) >= 68, rrand(-0.3, 0), rrand(-0.6, -0.3)) */
14/* Pif( Pkey(\midinote) >= 68, rrand(-0.3, 0), rrand(-0.6, -0.3)) */
2009/4/24, Scott Worthington <
stwbass@...>:
> hmm, this is odd... it doesn't happen everywhere for me, but this
> consistently does not colorize
>
> ~lh = Pbind(
> \instrument, \bells,
> \midinote, Pseq([~lhPitches, ~lhPitches, 62, 62].flatten, 1),
> \dur, Pseq([~rhythm, ~rhythm.reverse, 2.5, 2.5].flatten, 1),
> \stretch, Pwhite(0.999, 1.001),
> \sustain, Pwhite(3.5, 4.0),
> \db, Pwhite(-10.0, -8.0),
> \pan, -0.2 /*Pif( Pkey(\midinote) >= 68, rrand(-0.3, 0), rrand(-0.6,
> -0.3))*/
> );
>
> Thanks,
> sw
>
>
>
> On Fri, Apr 24, 2009 at 2:21 PM, Josh Parmenter <
josh@...>
> wrote:
> >
> > Hi Scott,
> >
> >
> > Hmm... I'm not seeing this on intel. Can you send a little code snippet
> that produces this problem for you? And are you using RC3?
> >
> >
> > Thanks,
> >
> >
> > Josh
> >
> >
> >
> >
> >
> >
> > On Apr 24, 2009, at 11:13 AM, Scott Worthington wrote:
> >
> > When highlighting an entire document (or any section of code) and pressing
> cmd-' comments are no longer colorized. If I only highlight the comment and
> do the same keystrokes, they turn red. Obviously this is extremely minor.
> Mac OSX 10.4.11
> >
> > Thanks,
> > sw
> >
> > --
> > Scott Worthington
> >
stwbass@...
> > www.scottworthington.com
> >
> >
> >
> >
> >
> > ******************************************
> >
> > /* Joshua D. Parmenter
> >
> >
http://www.realizedsound.net/josh/> >
> >
> >
> >
> > “Every composer – at all times and in all cases – gives his own
> interpretation of how modern society is structured: whether actively or
> passively, consciously or unconsciously, he makes choices in this regard. He
> may be conservative or he may subject himself to continual renewal; or he
> may strive for a revolutionary, historical or social palingenesis." - Luigi
> Nono */
> >
>
>
>
> --
> Scott Worthington
>
stwbass@...
> www.scottworthington.com
>
--
http://www.mcld.co.uk_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtmlarchive:
http://www.listarc.bham.ac.uk/marchives/sc-users/search:
http://www.listarc.bham.ac.uk/lists/sc-users/search/