]> granicus.if.org Git - python/commit
bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)
authorCheryl Sabella <cheryl.sabella@gmail.com>
Sat, 2 Jun 2018 01:45:54 +0000 (21:45 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 2 Jun 2018 01:45:54 +0000 (21:45 -0400)
commitde6516264e793be991f692fdd892707afb9104a7
tree8323fe9858ead378731de9edd748fd874f125559
parent63799136e6c0491bb5d6f4a234d5a775db3458db
bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)

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.
Lib/idlelib/codecontext.py
Lib/idlelib/config-highlight.def
Lib/idlelib/config.py
Lib/idlelib/configdialog.py
Lib/idlelib/idle_test/test_codecontext.py
Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst [new file with mode: 0644]