[issue35208] IDLE: Squeezed lines count ignores window width

Terry J. Reedy report at bugs.python.org
Fri Dec 14 22:18:12 EST 2018


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

My suggest simple rule would sqeeze it.  With n = 50 and k = 75,

if len(s) > n*k or s.count('\n') > n: squeeze(s)

would squeeze at 3750.  With k = 50, as 2500.

I am not sure yet what to do about wrapping.  For development, a count of actual lines might be more helpful than a variable number of wrapped lines.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35208>
_______________________________________


More information about the Python-bugs-list mailing list