Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
textIterForwardCursorPositions :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Boolgi-gtk4 GI.Gtk.Structs.TextIter Moves up to count cursor positions. See textIterForwardCursorPosition for details.
-
gi-gtk4 GI.Gtk.Structs.TextIter Advances iter, calling pred on each character. If pred returns True, returns True and stops scanning. If pred never returns True, iter is set to limit if limit is non-Nothing, otherwise to the end iterator.
textIterForwardLine :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk4 GI.Gtk.Structs.TextIter Moves iter to the start of the next line. If the iter is already on the last line of the buffer, moves the iter to the end of the current line. If after the operation, the iter is at the end of the buffer and not dereferenceable, returns False. Otherwise, returns True.
textIterForwardLines :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Boolgi-gtk4 GI.Gtk.Structs.TextIter Moves count lines forward, if possible. If count would move past the start or end of the buffer, moves to the start or end of the buffer. The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn’t move, or moved onto the end iterator, then False is returned. If count is 0, the function does nothing and returns False. If count is negative, moves backward by 0 - count lines.
-
gi-gtk4 GI.Gtk.Structs.TextIter Searches forward for str. Any match is returned by setting matchStart to the first character of the match and matchEnd to the first character after the match. The search will not continue past limit. Note that a search is a linear or O(n) operation, so you may wish to use limit to avoid locking up your UI on large buffers. matchStart will never be set to a GtkTextIter located before iter, even if there is a possible matchEnd after or at iter.
textIterForwardSentenceEnd :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk4 GI.Gtk.Structs.TextIter Moves forward to the next sentence end. If iter is at the end of a sentence, moves to the next end of sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language.
textIterForwardSentenceEnds :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Boolgi-gtk4 GI.Gtk.Structs.TextIter Calls textIterForwardSentenceEnd count times. If count is negative, moves backward instead of forward.
textIterForwardToEnd :: (HasCallStack, MonadIO m) => TextIter -> m ()gi-gtk4 GI.Gtk.Structs.TextIter Moves iter forward to the “end iterator”, which points one past the last valid character in the buffer. textIterGetChar called on the end iterator returns 0, which is convenient for writing loops.
textIterForwardToLineEnd :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk4 GI.Gtk.Structs.TextIter Moves the iterator to point to the paragraph delimiter characters. The possible characters are either a newline, a carriage return, a carriage return/newline in sequence, or the Unicode paragraph separator character. If the iterator is already at the paragraph delimiter characters, moves to the paragraph delimiter characters for the next line. If iter is on the last line in the buffer, which does not end in paragraph delimiters, moves to the end iterator (end of the last line), and returns False.
-
gi-gtk4 GI.Gtk.Structs.TextIter Moves forward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is Nothing. If no matching tag toggles are found, returns False, otherwise True. Does not return toggles located at iter, only toggles after iter. Sets iter to the location of the toggle, or to the end of the buffer if no toggle is found.