MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Syntax coloring

If I change this:

If[a > 1,
  Do[Print[i], {i, 1, 10}];

to this:

If[a > 1,
  Do[Print[i], {i, 1, 10}]; (*end do*)

then, the semicolon right before the comment (*end do*) turns magenta.

But if I remove the very LAST semicolon and then type it again, the magenta turns black.

Do others see this behavior? 

"7.0 for Mac OS X x86 (64-bit) (November 11, 2008)"


  • Prev by Date: Re: Mathematica won't stop
  • Next by Date: Equation style crash bug
  • Previous by thread: Benchmark - 64 bit much slower than 32 bit
  • Next by thread: Re: Syntax coloring