TextIter.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.

class TextIter
int
getVisibleLineIndex
()

Return Value

Type: int

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

Meta