TextIter.getVisibleLineOffset

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

class TextIter
int
getVisibleLineOffset
()

Return Value

Type: int

offset in visible characters from the start of the line