If with the current index, the current line exceeds max line, the character count should equal the current index, right?