Re: How to comment out several lines.

Andrew Hood <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
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++

-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.