Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc-lib GHC.Tc.Gen.Splice No documentation available.
AnotherBracketMatchType :: Int -> BracketMatchTypegi-gtksource5 GI.GtkSource.Enums Catch-all for unknown values
type
BufferBracketMatchedCallback = Maybe TextIter -> BracketMatchType -> IO ()gi-gtksource5 GI.GtkSource.Objects.Buffer iter is set to a valid iterator pointing to the matching bracket if state is BracketMatchTypeFound. Otherwise iter is meaningless. The signal is emitted only when the state changes, typically when the cursor moves. A use-case for this signal is to show messages in a Statusbar.
-
gi-gtksource5 GI.GtkSource.Objects.Buffer Connect a signal handler for the bracketMatched signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after buffer #bracketMatched callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. bufferGetHighlightMatchingBrackets :: (HasCallStack, MonadIO m, IsBuffer a) => a -> m Boolgi-gtksource5 GI.GtkSource.Objects.Buffer Determines whether bracket match highlighting is activated for the source buffer.
bufferSetHighlightMatchingBrackets :: (HasCallStack, MonadIO m, IsBuffer a) => a -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.Buffer Controls the bracket match highlighting function in the buffer. If activated, when you position your cursor over a bracket character (a parenthesis, a square bracket, etc.) the matching opening or closing bracket character will be highlighted.
constructBufferHighlightMatchingBrackets :: (IsBuffer o, MonadIO m) => Bool -> m (GValueConstruct o)gi-gtksource5 GI.GtkSource.Objects.Buffer Construct a GValueConstruct with valid value for the “highlight-matching-brackets” property. This is rarely needed directly, but it is used by new.
getBufferHighlightMatchingBrackets :: (MonadIO m, IsBuffer o) => o -> m Boolgi-gtksource5 GI.GtkSource.Objects.Buffer Get the value of the “highlight-matching-brackets” property. When overloading is enabled, this is equivalent to
get buffer #highlightMatchingBrackets
-
gi-gtksource5 GI.GtkSource.Objects.Buffer Connect a signal handler for the bracketMatched signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on buffer #bracketMatched callback
setBufferHighlightMatchingBrackets :: (MonadIO m, IsBuffer o) => o -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.Buffer Set the value of the “highlight-matching-brackets” property. When overloading is enabled, this is equivalent to
set buffer [ #highlightMatchingBrackets := value ]