Anoop Toffy
Anoop Toffy

Reputation: 916

Python Canopy: Is it possible to do word wrap in the editor?

I am using Canopy for editing and running files. But I am finding it difficult to take a look into more than 80 lines of code in it.

Is it possible to enable word wrapping in Canopy Editor?

Upvotes: 2

Views: 3809

Answers (1)

Jonathan March
Jonathan March

Reputation: 5810

Sorry, the editor does not yet support soft (display-only) wrapping.

The User's Guide includes an example of a macro to do hard (insert newlines) wrapping, but that is usually not what one wants: http://docs.enthought.com/canopy/configure/macro_howto.html#writing-macros-from-scratch

FWIW, Python standards specify a maximum line length of 79 characters: https://www.python.org/dev/peps/pep-0008/#maximum-line-length

Upvotes: 1

Related Questions