Wrapping comments

Ben Finney ben+python at benfinney.id.au
Sat May 9 11:00:51 EDT 2009

Tobias Weber <towb at gmx.net> writes:

> Or are there editors that can do a "soft hard wrap" while keeping 
> indentation and #comment markers intact?

Yes. Both Emacs and Vim will do exactly this when re-wrapping a
paragraph of commented lines, provided they have support for the
language's comment syntax (which, for Python, they do).

 \                            “Only the educated are free.” —Epictetus |
  `\                                                                   |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list