mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
M ColorDelegator.py
M PyShell.py M ScriptBinding.py 1. Update ScriptBinding.py to highlight a syntax error in the Edit window, and place the cursor on the error. Add a syntax check to the Run Script event instead of waiting until the script tries to run and raises a syntax error in the shell, forcing the user to navigate back to the Edit window to fix it. 2. Modify tag_config's appropriately in PyShell.py and ColorDelegator.py 3. Some minor clean-up in ScriptBinding.py
This commit is contained in:
parent
51cd8a2d24
commit
92b5ca37c2
3 changed files with 40 additions and 22 deletions
|
@ -261,7 +261,6 @@ class ModifiedColorDelegator(ColorDelegator):
|
|||
"stdout": idleConf.GetHighlight(theme, "stdout"),
|
||||
"stderr": idleConf.GetHighlight(theme, "stderr"),
|
||||
"console": idleConf.GetHighlight(theme, "console"),
|
||||
"ERROR": idleConf.GetHighlight(theme, "error"),
|
||||
None: idleConf.GetHighlight(theme, "normal"),
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue