Package: gtk

Function gtk-text-view-move-visually

Lambda List

gtk-text-view-move-visually (view iter count)

Arguments

view -- a gtk-text-view widget
iter -- a gtk-text-iter iterator
count -- an integer with the number of characters to move, negative moves left, positive moves right

Return Value

True if iter moved and is not on the end iterator.

Details

Move the iterator a given number of characters visually, treating it as the strong cursor position. If the count argument is positive, then the new strong cursor position will be count positions to the right of the old cursor position. If the count argument is negative then the new strong cursor position will be count positions to the left of the old cursor position.

In the presence of bi-directional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run.
 

See also

2021-10-16