This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cheryl.sabella, miss-islington, terry.reedy
Date 2018-06-07.22:04:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528409084.54.0.592728768989.issue33642@psf.upfronthosting.co.za>
In-reply-to
Content
Summary for users: Previously, Code Context displayed a fixed number of lines.  Often, many were blank.  Hence the default *numlines* to display was small, 3, to avoid having too many blank lines.  However, 3 is often too small to display the complete context.

Now, Code Context initially displays a single blank line for 'no context', to show that the feature is active.  When the top visible line is part of an indented body, the context used as many non-blank lines as needed, up to a maximum of *maxlines*, which has a default of 15.  Because a new configuration option is used, there should be no interference between user settings for old releases and future releases. 

Initially, context lines are added to an expanded editor window.  When the height of the window has been maximized, perhaps with the zoomheight feature, and when the height of the window has been reset with the mouse, context lines replace normal code text.
History
Date User Action Args
2018-06-07 22:04:44terry.reedysetrecipients: + terry.reedy, cheryl.sabella, miss-islington
2018-06-07 22:04:44terry.reedysetmessageid: <1528409084.54.0.592728768989.issue33642@psf.upfronthosting.co.za>
2018-06-07 22:04:44terry.reedylinkissue33642 messages
2018-06-07 22:04:44terry.reedycreate