How to comment out several lines.
dantian
dantian at free.fr
Thu May 28 14:55:34 CEST 2009
Yes,
to so so go to "Preferences" -> "Default Settings" -> "Customize Menus"
-> "Macro Menu"
Hope it helps.
Eric.
Andrew Hood wrote:
> 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.
>>
>
> If the language mode is C++ this is in the macro menus.
>
> If it is some other mode you could customise the macro definition to
> include your mode as well as C++
>
>
--
/ 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