docs: def on_new(self):
          """
          Add a new empty code editor to the tab widget
          """
          editor = self.tabWidget.create_new_document()
          editor.cursorPositionChanged.connect(self.on_cursor_pos_changed)
          self.refresh_color_scheme()