Kaydet (Commit) 6c5baeb6 authored tarafından Guido van Rossum's avatar Guido van Rossum

Raise priority of 'sel' tag so its foreground (on Windows) will take

priority over text colorization (which on Windows is almost the
same color as the selection background).

Define a tag and color for breakpoints ("BREAK").
üst 0737430b
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment