mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Add a highlight theme for builtin keywords. Python Patch 805830 Nigel Rowe
M ClassBrowser.py M ColorDelegator.py M EditorWindow.py M NEWS.txt M PyShell.py M TreeWidget.py M config-highlight.def M configDialog.py M configHandler.py
This commit is contained in:
parent
4102478f46
commit
73360a3e61
9 changed files with 42 additions and 16 deletions
|
@ -510,6 +510,8 @@ class EditorWindow:
|
|||
if self.color:
|
||||
self.color = self.ColorDelegator()
|
||||
self.per.insertfilter(self.color)
|
||||
theme = idleConf.GetOption('main','Theme','name')
|
||||
self.text.config(idleConf.GetHighlight(theme, "normal"))
|
||||
|
||||
def ResetFont(self):
|
||||
"Update the text widgets' font if it is changed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue