code: def open_buffer(self, location=None, show_in_current_window=False):
          
          eb = self._get_or_create_editor_buffer(location)
  
          if show_in_current_window:
              self.show_editor_buffer(eb)
docs: Open/create a file, load it, and show it in a new buffer.