code: def _generate_style(self):
          
          return generate_style(self.code_styles[self._current_code_style_name],
                                self.ui_styles[self._current_ui_style_name])
docs: Create new Style instance.
          (We don't want to do this on every key press, because each time the
          renderer receives a new style class, he will redraw everything.)