Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: dissabling code segments

  • To: mathgroup at
  • Subject: [mg115215] Re: dissabling code segments
  • From: David Reiss <dbreiss at>
  • Date: Tue, 4 Jan 2011 04:27:38 -0500 (EST)
  • References: <ifs31m$opn$>

In version 8 there is the "Un/Comment Selection" command.  It is in
the Edit menu.  On the mac it has the key binding "Command-/".


On Jan 3, 3:57 am, "Eric Michielssen" <emich... at> wrote:
> Hi,
> Often, I would like to quickly disable (comment out) a few lines of my code.
> Of course, I can do this by enclosing these lines as (* lines *).
> I was wondering whether I could automate this operation and its reverse
> using the frontend, so that I just have to select the lines in question and
> press a hotkey combination.
> Thanks!
> Eric Michielssen

  • Prev by Date: Re: Best Way to Copy from Mathematica to Powerpoint?
  • Next by Date: Re: dissabling code segments
  • Previous by thread: Re: dissabling code segments
  • Next by thread: Re: dissabling code segments