[New-bugs-announce] [issue42638] IDLE: Context lines not working correctly
Terry J. Reedy
report at bugs.python.org
Mon Dec 14 06:29:54 EST 2020
New submission from Terry J. Reedy <tjreedy at udel.edu>:
Test: open editor.py in editor. Turn on Code context with large max lines. Scroll down to body of _sphinx_version (after line 37). Nothing appears. Scroll down to line 82 in EditorWindow.__init__. 'def _sphinx_version' appears. Scroll up (again with arrow key) to the 'def _sphinx_version' line and it diappears from the context. Usually repeats.
Is it coincidence that 82 - 37 = 45, the lines in the window? No. Shrink window to 26 lines and context line appears when at line 37 + 26 = 63.
stage: test needed
title: IDLE: Context lines not working correctly
versions: Python 3.10
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce