[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.

----------
assignee: terry.reedy
components: IDLE
messages: 382981
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: Context lines not working correctly
type: behavior
versions: Python 3.10

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


More information about the New-bugs-announce mailing list