docs: def close_left(self):
          """
          Closes every editors tabs on the left of the current one.
          """
          current_widget = self.widget(self.tab_under_menu())
          index = self.indexOf(current_widget)
          if self._try_close_dirty_tabs(tab_range=range(index)):
              while True:
                  widget = self.widget(0)
                  if widget != current_widget:
                      self.remove_tab(0)
                  else:
                      break