Package: gtk

Function gtk-text-iter-visible-line-index

Lambda List

gtk-text-iter-visible-line-index (iter)

Syntax

(gtk-text-iter-visible-line-index iter) => byte-on-line
(setf (gtk-text-iter-visible-line-index iter) byte-on-line)

Arguments

iter -- a gtk-text-iter instance
byte-on-line -- an integer with a byte index

Details

Accessor of the byte index relative to the start of the current line of the iterator.

The function gtk-text-iter-visible-line-index returns the number of bytes from the start of the line to the given iterator, not counting bytes that are invisible due to tags with the "invisible" flag toggled on.
 

See also

2021-6-13