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.

  1. recentInfoRef :: (HasCallStack, MonadIO m) => RecentInfo -> m RecentInfo

    gi-gtk3 GI.Gtk.Structs.RecentInfo

    Increases the reference count of recentInfo by one. Since: 2.10

  2. selectionDataGetFormat :: (HasCallStack, MonadIO m) => SelectionData -> m Int32

    gi-gtk3 GI.Gtk.Structs.SelectionData

    Retrieves the format of the selection. Since: 2.14

  3. textIterForwardChar :: (HasCallStack, MonadIO m) => TextIter -> m Bool

    gi-gtk3 GI.Gtk.Structs.TextIter

    Moves iter forward by one character offset. Note that images embedded in the buffer occupy 1 character slot, so textIterForwardChar may actually move onto an image instead of a character, if you have images in your buffer. If iter is the end iterator or one character before it, iter will now point at the end iterator, and textIterForwardChar returns False for convenience when writing loops.

  4. textIterForwardChars :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Bool

    gi-gtk3 GI.Gtk.Structs.TextIter

    Moves count characters 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 new position of iter is different from its original position, and dereferenceable (the last iterator in the buffer is not dereferenceable). If count is 0, the function does nothing and returns False.

  5. textIterForwardCursorPosition :: (HasCallStack, MonadIO m) => TextIter -> m Bool

    gi-gtk3 GI.Gtk.Structs.TextIter

    Moves iter forward by a single cursor position. Cursor positions are (unsurprisingly) positions where the cursor can appear. Perhaps surprisingly, there may not be a cursor position between all characters. The most common example for European languages would be a carriage return/newline sequence. For some Unicode characters, the equivalent of say the letter “a” with an accent mark will be represented as two characters, first the letter then a "combining mark" that causes the accent to be rendered; so the cursor can’t go between those two characters. See also the LogAttr-struct and break function.

  6. textIterForwardCursorPositions :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Bool

    gi-gtk3 GI.Gtk.Structs.TextIter

    Moves up to count cursor positions. See textIterForwardCursorPosition for details.

  7. textIterForwardFindChar :: (HasCallStack, MonadIO m) => TextIter -> TextCharPredicate -> Maybe TextIter -> m Bool

    gi-gtk3 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.

  8. textIterForwardLine :: (HasCallStack, MonadIO m) => TextIter -> m Bool

    gi-gtk3 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 dereferencable, returns False. Otherwise, returns True.

  9. textIterForwardLines :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Bool

    gi-gtk3 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.

  10. textIterForwardSearch :: (HasCallStack, MonadIO m) => TextIter -> Text -> [TextSearchFlags] -> Maybe TextIter -> m (Bool, TextIter, TextIter)

    gi-gtk3 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 TextIter located before iter, even if there is a possible matchEnd after or at iter.

Page 1436 of many | Previous | Next