Mathematica 9 is now available
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: Re: (**) comments highlighted

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48904] Re: Re: (**) comments highlighted
  • From: "Peltio" <peltio at twilight.zone>
  • Date: Wed, 23 Jun 2004 02:50:57 -0400 (EDT)
  • References: <cagibh$i8u$1@smc.vnet.net> <200406140714.DAA15076@smc.vnet.net> <cam6bh$qj2$1@smc.vnet.net>
  • Reply-to: "Peltio" <peltioNOSP at Mdespammed.com.invalid>
  • Sender: owner-wri-mathgroup at wolfram.com

"Adrian Craciun" ha scritto

>I already mark the comments by a different colour manually. I was hoping
>that someone knows how to do it automatically.
[snip]
>My cells are always Input cells. For what is worth.

In this case, wouldn't you be better off with an external editor?
There are freeware editors that are 'syntax-aware' and would let you color
the different keywords (and even comments I infer) as you like it.
The effort of copying and pasting your code from this editor into the
Mathematica front-end would be smaller that that of manually coloring every
single comment, I guess.
You would work with two separated windows: one for coding and one for
running the code.

I wonder if there is any chance to automate te cutting and pasting into the
last selected mathematica notebook. This depends on the editor's capability
to issue external commands of course (no big deal as far as I know), but
also on mathematica's abilty to accept external commands (I never had to
worry about passing a text to a mathematica notebook from outside Mathematica, so I
haven't the slightest idea on how to do that).

My two cents.
Peltio
Invalid address in reply-to. Crafty demunging required to mail me.


  • Prev by Date: Re: Re: faster sublist checking
  • Next by Date: Re: Sort by buried element in list
  • Previous by thread: Re: Re: (**) comments highlighted
  • Next by thread: Re: (**) comments highlighted - newbie