Update the sidebar text colors, usually after config changes.
(self)
| 318 | self.sidebar_text['font'] = font |
| 319 | |
| 320 | def update_colors(self): |
| 321 | """Update the sidebar text colors, usually after config changes.""" |
| 322 | colors = idleConf.GetHighlight(idleConf.CurrentTheme(), 'linenumber') |
| 323 | foreground = colors['foreground'] |
| 324 | background = colors['background'] |
| 325 | self.sidebar_text.config( |
| 326 | fg=foreground, bg=background, |
| 327 | selectforeground=foreground, selectbackground=background, |
| 328 | inactiveselectbackground=background, |
| 329 | ) |
| 330 | |
| 331 | def update_sidebar_text(self, end): |
| 332 | """ |
nothing calls this directly
no test coverage detected