Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IDLE won't wrap lines of text

1,851 views
Skip to first unread message

Richard D. Moores

unread,
Feb 19, 2011, 6:56:45 PM2/19/11
to pytho...@python.org
Vista
Python 3.1.3

I can't figure out how to get IDLE to wrap text pasted in from, say, a
newspaper article. Usually, a each paragraph will appear as one long
unwrapped line, with no way to read the whole line, because no
horizontal bar is created. I haven't found anything about this in
either the options or the help.

Thanks,

Dick Moores

Terry Reedy

unread,
Feb 20, 2011, 6:54:36 PM2/20/11
to pytho...@python.org

The IDLE editor was designed for writing Python code, not general text.
It is expected that you will limit line lengths to what can be seen on
your screen.

--
Terry Jan Reedy

Rhodri James

unread,
Feb 20, 2011, 7:31:18 PM2/20/11
to
On Sat, 19 Feb 2011 23:56:45 -0000, Richard D. Moores <rdmo...@gmail.com>
wrote:

I hate to ask, but why are you doing this? IDLE isn't a general-purpose
editor, it's a programming editor specifically for Python, and as such
it's entirely appropriate for it to discourage overly long lines.

--
Rhodri James *-* Wildebeest Herder to the Masses

Richard D. Moores

unread,
Feb 20, 2011, 8:41:12 PM2/20/11
to pytho...@python.org

Take a look at <http://tutoree7.pastebin.com/EmyQTaYt>

Dick Moores

Rhodri James

unread,
Feb 20, 2011, 9:32:20 PM2/20/11
to
On Mon, 21 Feb 2011 01:41:12 -0000, Richard D. Moores <rdmo...@gmail.com>
wrote:

> On Sun, Feb 20, 2011 at 16:31, Rhodri James
> <rho...@wildebst.demon.co.uk> wrote:
>> On Sat, 19 Feb 2011 23:56:45 -0000, Richard D. Moores
>> <rdmo...@gmail.com>
>> wrote:
>>
>>> Vista
>>> Python 3.1.3
>>>
>>> I can't figure out how to get IDLE to wrap text pasted in from, say, a
>>> newspaper article. Usually, a each paragraph will appear as one long
>>> unwrapped line, with no way to read the whole line, because no
>>> horizontal bar is created. I haven't found anything about this in
>>> either the options or the help.
>>
>> I hate to ask, but why are you doing this? IDLE isn't a general-purpose
>> editor, it's a programming editor specifically for Python, and as such
>> it's
>> entirely appropriate for it to discourage overly long lines.
>
> Take a look at <http://tutoree7.pastebin.com/EmyQTaYt>

I see. I'd recommend the approach of sticking your source data in a
separate text file (using a text editor rather than IDLE) in any case;
it's much less of a pain to change what you are working on that way.

Richard D. Moores

unread,
Feb 20, 2011, 9:51:38 PM2/20/11
to Rhodri James, pytho...@python.org

Problem is I know of no text editor that can handle Japanese.

Thanks,

Dick

André Roberge

unread,
Feb 20, 2011, 10:38:39 PM2/20/11
to "pyth...@python.org


The editor in Crunchy (http://code.google.com/p/crunchy) appears to be working just fine with the sample code you posted (at least when using Python 3 - I got an error when using it to run the code with Python 2). That being said, I would not recommend it for heavy work....

An editor that seems to work just fine (although it took a long time to load the sample code) is SublimeText (http://www.sublimetext.com/) - version 2 alpha; it is becoming my editor of choice.

André

Duncan Booth

unread,
Feb 21, 2011, 5:53:39 AM2/21/11
to
André Roberge <andre....@gmail.com> wrote:

> On Sunday, February 20, 2011 10:51:38 PM UTC-4, Dick Moores wrote:
>> Problem is I know of no text editor that can handle Japanese.
>>
>

> The editor in Crunchy (http://code.google.com/p/crunchy) appears to be
> working just fine with the sample code you posted (at least when using
> Python 3 - I got an error when using it to run the code with Python
> 2). That being said, I would not recommend it for heavy work....
>
> An editor that seems to work just fine (although it took a long time
> to load the sample code) is SublimeText (http://www.sublimetext.com/)
> - version 2 alpha; it is becoming my editor of choice.
>

FWIW, Lugaru Epsilon (http://lugaru.com/) seems to handle it just fine
though you do have to set it to use a fixed pitch font which has Japanese
glyphs (MS Mincho was the only suitable font on my system but would suck
for general editing).

--
Duncan Booth http://kupuguy.blogspot.com

kwame.asa...@gmail.com

unread,
Jul 7, 2012, 7:30:50 AM7/7/12
to pytho...@python.org
i think i understand the question... see when u doing django and u have use the views.py to respond to request in html form,,, its hard to wrap the html codes in idle..

kwame.asa...@gmail.com

unread,
Jul 7, 2012, 7:30:50 AM7/7/12
to comp.lan...@googlegroups.com, pytho...@python.org
i think i understand the question... see when u doing django and u have use the views.py to respond to request in html form,,, its hard to wrap the html codes in idle..

On Sunday, February 20, 2011 11:54:36 PM UTC, Terry Reedy wrote:
0 new messages