New submission from Terry J. Reedy <tjre...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to