Discussion:
tex/latex comment multiple lines
Joao Seixas (CERN)
2013-04-18 13:01:13 UTC
Permalink
Dear friends,

One thing I would find very useful in TeX/LaTeX would be the ability to
automatically comment multiple lines in a text. Maybe I did not look
carefully, but I did not find any procedure to do that in WinEdt (it
exists in editors such as notepad++, at least for C programmers). Is
there any macro for that? How difficult would it be to implement that in
WinEdt?

Thank you for your help.
Ulrike Fischer
2013-04-18 13:06:21 UTC
Permalink
Post by Joao Seixas (CERN)
Dear friends,
One thing I would find very useful in TeX/LaTeX would be the ability to
automatically comment multiple lines in a text. Maybe I did not look
carefully, but I did not find any procedure to do that in WinEdt (it
exists in editors such as notepad++, at least for C programmers). Is
there any macro for that? How difficult would it be to implement that in
WinEdt?
You can select the lines and then use Edit->Move/Fill->Insert
Comment or Ctrl+Alt+Shift+Right.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
A. Peet Hickman
2013-04-18 13:08:24 UTC
Permalink
Post by Joao Seixas (CERN)
One thing I would find very useful in TeX/LaTeX would be the ability
to automatically comment multiple lines in a text.
Just select the text and right click. An option is to comment or
uncomment. (I'm using an older version of WinEdt, but the same thing
probably works in newer versions.)
--
A. Peet Hickman
Professor
Department of Physics
Lehigh University tel. (610) 758-3917
Bethlehem, PA 18015 fax (610) 758-5730
Bernard Alfonsi
2013-04-18 18:00:15 UTC
Permalink
Post by Joao Seixas (CERN)
One thing I would find very useful in TeX/LaTeX would be the ability
to automatically comment multiple lines in a text.
Just select the text and right click. An option is to comment or uncomment. (I'm using an older version of WinEdt, but the same thing
probably works in newer versions.)
Another way of doing : if you insert a % at the beginning of a
paragraph, the whole paragraph is commented.

B. Alfonsi

Loading...