word wrap for editing python files?

Users who are viewing this thread

I'm getting horrible headaches editing python. I'm use to compilers that word wrap, but even worse I can't even scroll over I have to highlight and drag. Even worse is that you can't highlight and drag when you increase the window size.

Anyone have any tricks to help with this? I hate pasting it into notepad.
 
Valec SKylien said:
I'm getting horrible headaches editing python. I'm use to compilers that word wrap, but even worse I can't even scroll over I have to highlight and drag. Even worse is that you can't highlight and drag when you increase the window size.

Anyone have any tricks to help with this? I hate pasting it into notepad.
One thing you can do is break long text strings with a "\" and continue it on the next line. You'll notice Armagan does this in the original code.
As for seperate commands and blocks which are separated by commas, you can have new lines after each comma. Armagan does this in his code as well.
You might be able to further split them into separate lines, but I haven't tried it.
 
Personally, I use Crimson Editor http://www.crimsoneditor.com/ which is a freeware source code editor that has pre-set syntax highlighting for many languages, including python.
 
You could also try vi (or vim), but it might be a little hardcore if you are not working on a *nix machine. :shock:

sv
 
Back
Top Bottom