getVisibleLineIndex

Returns the number of bytes from the start of the line to the given @iter, not counting bytes that are invisible due to tags with the “invisible” flag toggled on.

Return

byte index of @iter with respect to the start of the line