Update the color theme
(self)
| 794 | self.color = None |
| 795 | |
| 796 | def ResetColorizer(self): |
| 797 | "Update the color theme" |
| 798 | # Called from self.filename_change_hook and from configdialog.py |
| 799 | self._rmcolorizer() |
| 800 | self._addcolorizer() |
| 801 | EditorWindow.color_config(self.text) |
| 802 | |
| 803 | if self.code_context is not None: |
| 804 | self.code_context.update_highlight_colors() |
| 805 | |
| 806 | if self.line_numbers is not None: |
| 807 | self.line_numbers.update_colors() |
| 808 | |
| 809 | IDENTCHARS = string.ascii_letters + string.digits + "_" |
| 810 |
no test coverage detected