MathGroup Archive 2011

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

Search the Archive

Re: dissabling code segments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115225] Re: dissabling code segments
  • From: Robert Pigeon <robert.pigeon at videotron.ca>
  • Date: Tue, 4 Jan 2011 04:29:33 -0500 (EST)

Hello Eric,
	Try: highlight the portion of code you want to comment... then right
click (Windows) over it and click on "Un/Comment". The reverse is also
possible if you want the code back.

Robert

-----Message d'origine-----
De : Eric Michielssen [mailto:emichiel at eecs.umich.edu]
Envoy=E9 : 3 janvier 2011 03:57
=C0 : mathgroup at smc.vnet.net
Objet : [mg115171] dissabling code segments

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: dissabling code segments
  • Next by Date: Re: How to change the directory for the docs?
  • Previous by thread: Re: dissabling code segments
  • Next by thread: Re: dissabling code segments