Moves the cursor to the end of the previous editor

def goBack(self):
        """
        Moves the cursor to the end of the previous editor
        """
        index = self.indexOf(self.currentEditor())
        if index == -1:
            return
        
        previous = self.editorAt(index - 1)
        if previous:
            previous.setFocus()
            previous.setCursorPosition(self.sectionLength())