Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

RE: (**) comments highlighted - newbie

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48749] RE: [mg48732] (**) comments highlighted - newbie
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 12 Jun 2004 23:33:38 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Adrian,

You can select a comment and then change the color via the Menu/Format/Text
Color item. I don't think you can have them automatically change color.

Also, in my opinion, there is a flaw in Mathematica's use of comments. If
you select a cell and change it between forms, say from StandardForm to
InputForm or TraditionalForm, the comments are thrown away. So if you ever
do any of that, your careful efforts at commenting will all be lost.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Adrian Craciun [mailto:acraciun at risc.uni-linz.ac.at]
To: mathgroup at smc.vnet.net

Hello,

I hope my question is not completely silly, but I have been trying to find
an answer for this both in the Mathematica book, in this forum's archive
and elsewhere on the net and I failed.

Since I will be doing quite a bit of programming with Mathematica in the
near future, I would like to have the following (very reasonable, I think)
feature:
comments (* ... *) should (by themselves :) ) change colour (for instance)
so that they are obvious in the code from a distance.

I hope the solution to this is not very complicated, and I'm sure I am not
the first to think about this. Can anyone help?

Thanks in advance,

Adrian





  • Prev by Date: Re: Substitution ignored?
  • Next by Date: RE: Substitution ignored?
  • Previous by thread: (**) comments highlighted - newbie
  • Next by thread: Re: (**) comments highlighted - newbie