MathGroup Archive 2011

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

Search the Archive

Re: dissabling code segments


The menu item

    Edit    |    Un/Comment Selection

which on a Mac has the keyboard shortcut of Command with /


Bob Hanlon

---- Eric Michielssen <emichiel at eecs.umich.edu> 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: show curves simultaneously
  • Next by Date: quadp
  • Previous by thread: Re: dissabling code segments
  • Next by thread: Re: dissabling code segments