[issue35208] IDLE: Squeezed lines count ignores window width

Tal Einat report at bugs.python.org
Sat Dec 15 13:37:55 EST 2018


Tal Einat <taleinat at gmail.com> added the comment:

Terry, I'm not sure I follow your thinking, but it feels like over-thinking.  This is a simple bug with a simple fix.

Barring the current bug (which the attached PR fixes), the current logic counts lines, taking soft wrapping into account.  This was chosen to make things as simple as possible for the users, in terms of what's displayed on squeezed buttons and in terms of configuring auto-squeezing.  The fix is simple and with it Squeezer works quickly and consistently.

If you'd like to change the behavior, let's discuss that elsewhere.

----------

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


More information about the Python-bugs-list mailing list