Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue1207613] Bottom Scroll Bar

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jun 30, 2012, 5:01 PM

Post #1 of 2 (43 views)
Permalink
[issue1207613] Bottom Scroll Bar

Terry J. Reedy <tjreedy [at] udel> added the comment:

#15141, which I will close as a duplicate, makes the same request (for the edit window). Roger Serwy notes that his extension package
http://idlex.sourceforge.net/extensions.html
has horizontal.py, which does what is requested. He is willing for that (or other) extension(s) to be bundled with idle for default or optional activation. I presume that is done in some .cfg file. I re-opened for that purpose.

(Note: it would seem nice to be able to get a list of extensions available and those enabled from the menu. Or is there a reason not too?)

Some arguments for h. scroll:
1. The shell window is a print output as well as code input window. Output should not necessarily be limited to 80 chars. With variable pitch font, that does not even make much sense.
2. Edit windows are not limited to python code. Else they would *always* syntax hilight. Or Pycode might be embedded in other formats. If #6858 were implemented, h scroll would be more useful.
3. Not everyone agrees with the 80 char limits.
4. People sometimes edit a file written by someone else.

Counter-arguments:
1. A full screen window allows about 200 chars or more, which is enough for any code entry and most print output and most 'files written by someone else'.
2. For exceptions, put cursor on long line and use => arrow key.

----------
nosy: +serwy, terry.reedy
resolution: rejected ->
status: closed -> open
versions: +Python 3.4

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue1207613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 30, 2012, 8:18 PM

Post #2 of 2 (35 views)
Permalink
[issue1207613] Bottom Scroll Bar [In reply to]

Roger Serwy <roger.serwy [at] gmail> added the comment:

I wrote Horizontal.py as an extension in order to avoid forking IDLE. It
should be simple to incorporate a toggling horizontal scroll bar within
the EditorWindow class itself.
> (Note: it would seem nice to be able to get a list of extensions available and those enabled from the menu. Or is there a reason not too?)

IdleX provides a dialog for enabling and disabling extensions.

The shell window has wrapping enabled on its text widget. A horizontal
bar is not needed there.
> 2. Edit windows are not limited to python code. Else they would *always* syntax hilight. Or Pycode might be embedded in other formats. If #6858 were implemented, h scroll would be more useful.
True. The Editor window does not wrap, which is why the horizontal bar
is needed there.
> 3. Not everyone agrees with the 80 char limits.
The limit does make printing code simpler, however. But that's a
separate discussion.
> 4. People sometimes edit a file written by someone else.
Yes, and often times it is one or two lines in the file that extend
beyond the right border of the editor.
> Counter-arguments:
> 1. A full screen window allows about 200 chars or more, which is enough for any code entry and most print output and most 'files written by someone else'.
I shouldn't have to resize the editor to see its contents.
> 2. For exceptions, put cursor on long line and use => arrow key.
>
> ----------
> nosy: +serwy, terry.reedy
> resolution: rejected ->
> status: closed -> open
> versions: +Python 3.4
>
> _______________________________________
> Python tracker<report [at] bugs>
> <http://bugs.python.org/issue1207613>
> _______________________________________
>

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue1207613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.