Package: gtk

Function gtk-text-iter-backward-line

Lambda List

gtk-text-iter-backward-line (iter)

Arguments

iter -- a gtk-text-iter instance

Return Value

A boolean whether the iterator moved.

Details

Moves the iterator to the start of the previous line.

Returns true if the iterator could be moved. I.e. if the iterator was at character offset 0, this function returns false. Therefore if the iterator was already on line 0, but not at the start of the line, the iterator is snapped to the start of the line and the function returns true. Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.
 

See also

2021-6-15