Return the ammount of characters until the last newline.

def eol_distance_last(self, offset=0):
        """Return the ammount of characters until the last newline."""
        distance = 0
        for char in reversed(self.string[:self.pos + offset]):
            if char == '\n':
                break
            else:
                distance += 1
        return distance