summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/idle/ColorDelegator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/idle/ColorDelegator.py b/Tools/idle/ColorDelegator.py
index 0cbf2fb..5bf921d 100644
--- a/Tools/idle/ColorDelegator.py
+++ b/Tools/idle/ColorDelegator.py
@@ -44,6 +44,7 @@ class ColorDelegator(Delegator):
for tag, cnf in self.tagdefs.items():
if cnf:
apply(self.tag_configure, (tag,), cnf)
+ self.tag_raise('sel')
tagdefs = {
"COMMENT": {"foreground": "#dd0000"},
@@ -53,6 +54,8 @@ class ColorDelegator(Delegator):
"SYNC": {}, #{"background": "#ffff00"},
"TODO": {}, #{"background": "#cccccc"},
+
+ "BREAK": {"background": "#FF7777"},
}
def insert(self, index, chars, tags=None):