summaryrefslogtreecommitdiff
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-12-17 21:16:12 +0000
committerKurt B. Kaiser <kbk@shore.net>2002-12-17 21:16:12 +0000
commit92b5ca37c215fd2291c474c108361f09f9035a93 (patch)
tree2410cfe26132c58be8a2bf489a287a41884339e6 /Lib/idlelib/PyShell.py
parent51cd8a2d24f972cad2703a9cf70e1a63b83f76c7 (diff)
downloadcpython-git-92b5ca37c215fd2291c474c108361f09f9035a93.tar.gz
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
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 52d1a7016e..5af9ca04ce 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -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"),
})