From d8157f913b658a02a91923bd24a84b068ed2a08f Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 7 Jun 2018 18:53:40 -0400 Subject: [PATCH 1/2] Revise and condense blurbs for bpo-33642 and bpo-33679. --- .../IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst | 11 ++--------- .../IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst | 15 +++------------ 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst b/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst index d8ecb3938d43c5..b1d0763a8a9fac 100644 --- a/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst +++ b/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst @@ -1,9 +1,2 @@ -IDLE: Only display actual code context lines. -Instead of displaying a fixed number of lines, some blank, Code Context -now displays the variable number of actual context lines. When there -are no context lines, it shows a single blank line to indicate that the -feature is turned on. - -The Code Context configuration option is changed from 'numlines' -(default 3) to 'maxlines' (default 15) to avoid possible interference -between user settings for the old and new versions of Code Context. +Display up to maxlines non-blank lines for Code Context. +If there is no current context, show a single blank line. diff --git a/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst b/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst index 43d78b023f66af..857b49d94867d9 100644 --- a/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst +++ b/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst @@ -1,12 +1,3 @@ -IDLE: Re-enable color configuration for Code Context. -The difference from before is that the settings are now on the -Highlights tab instead of the Extensions tab and only change one theme -at a time instead of all themes. The default for light themes is black -on light gray, as before. The default for the IDLE Dark theme is white -on dark gray, which better fits the dark theme. - -When one starts IDLE from a console and loads a custom theme without -definitions for 'context', one will see a warning message on the console. -To stop the warning, go to Options => Configure IDLE => Highlights, -select the custom theme if not selected already, select 'Code Context', -and select foreground and background colors. +Enable theme-specific color configuration for Code Context. +Use the Highlights tab to see the setting for builtin themes +or add settings to custom themes. From 987e1d8c348216ab095cc5bba917da5233da7734 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 7 Jun 2018 18:56:48 -0400 Subject: [PATCH 2/2] Update 2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst --- Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst b/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst index 857b49d94867d9..2d52fa86490deb 100644 --- a/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst +++ b/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst @@ -1,3 +1,3 @@ Enable theme-specific color configuration for Code Context. -Use the Highlights tab to see the setting for builtin themes +Use the Highlights tab to see the setting for built-in themes or add settings to custom themes.