How to comment out several lines.
dantian
dantian at free.fr
Thu May 28 14:35:19 CEST 2009
Hi,
If it's in C or C++ you can select the lines to comment and go to
"Macro" and then "Comments".
I think it should also work with linux shell scripts.
Best,
Eric.
Eric Bouyoux wrote:
> Hi,
>
> I would like to comment several successive lines in a file.
> Ex :
> Line1
> Line2
> Line3
> Line4
>
> becomes
>
> Line1
> //Line2
> //Line3
> Line4
>
> I can do it with a regular expression and Replace in selection.
>
> But I would like to know if it already exists a macro I could bind to a key.
>
> Regards.
>
> Eric.
>
--
/ Be the change you wish to see in the world
/ --- Mahatma Gandhi ---
dantian.free.fr <http://dantian.free.fr>
/gtalk/: aihaike at gmail.com
/msn/: aihaike at hotmail.com
/skype/: aihaike
/ Please consider the environment before printing this email.
Considérez svp l'environnement avant d'imprimer cet email. /
More information about the Discuss
mailing list