code: def goForward(self):
          
          index = self.indexOf(self.currentEditor())
          if index == -1:
              return
          
          next = self.editorAt(index + 1)
          if next:
              next.setFocus()
              next.setCursorPosition(0)
docs: Moves the cursor to the beginning of the next editor.