Gtk.TextIter.prototype.forward_visible_word_end
function forward_visible_word_end():Boolean { // Gjs wrapper for gtk_text_iter_forward_visible_word_end() }
Moves forward to the next visible word end. (If iter is currently on a word end, moves forward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).
Since 2.4
- Returns
true if iter moved and is not the end iterator