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.
textIterForwardSentenceEnd :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk3 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 (if not, the correct fix would be to the Pango text boundary algorithms).
textIterForwardSentenceEnds :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Boolgi-gtk3 GI.Gtk.Structs.TextIter Calls textIterForwardSentenceEnd count times (or until textIterForwardSentenceEnd returns False). If count is negative, moves backward instead of forward.
textIterForwardToEnd :: (HasCallStack, MonadIO m) => TextIter -> m ()gi-gtk3 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-gtk3 GI.Gtk.Structs.TextIter Moves the iterator to point to the paragraph delimiter characters, which will be 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-gtk3 GI.Gtk.Structs.TextIter Moves forward to the next toggle (on or off) of the TextTag 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.
textIterForwardVisibleCursorPosition :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk3 GI.Gtk.Structs.TextIter Moves iter forward to the next visible cursor position. See textIterForwardCursorPosition for details. Since: 2.4
textIterForwardVisibleCursorPositions :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Boolgi-gtk3 GI.Gtk.Structs.TextIter Moves up to count visible cursor positions. See textIterForwardCursorPosition for details. Since: 2.4
textIterForwardVisibleLine :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk3 GI.Gtk.Structs.TextIter Moves iter to the start of the next visible line. Returns True if there was a next line to move to, and False if iter was simply moved to the end of the buffer and is now not dereferenceable, or if iter was already at the end of the buffer. Since: 2.8
textIterForwardVisibleLines :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Boolgi-gtk3 GI.Gtk.Structs.TextIter Moves count visible 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. Since: 2.8
textIterForwardVisibleWordEnd :: (HasCallStack, MonadIO m) => TextIter -> m Boolgi-gtk3 GI.Gtk.Structs.TextIter 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