Returns the character after the cursor.

        :return: Next cursor character.
        :rtype: QString

def get_next_character(self):
        """
        Returns the character after the cursor.

        :return: Next cursor character.
        :rtype: QString
        """

        cursor = self.textCursor()
        cursor.movePosition(QTextCursor.NextCharacter, QTextCursor.KeepAnchor)
        return cursor.selectedText()