Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype EditorState = EditorState (ManagedPtr EditorState)
- class GObject o => IsEditorState o
- toEditorState :: IsEditorState o => o -> IO EditorState
- noEditorState :: Maybe EditorState
- data EditorStateGetTypingAttributesMethodInfo
- editorStateGetTypingAttributes :: (HasCallStack, MonadIO m, IsEditorState a) => a -> m Word32
- data EditorStateTypingAttributesPropertyInfo
- editorStateTypingAttributes :: AttrLabelProxy "typingAttributes"
- getEditorStateTypingAttributes :: (MonadIO m, IsEditorState o) => o -> m Word32
Exported types
newtype EditorState Source #
GObject EditorState Source # | |
IsObject EditorState Source # | |
IsEditorState EditorState Source # | |
((~) * info (ResolveEditorStateMethod t EditorState), MethodInfo * info EditorState p) => IsLabel t (EditorState -> p) Source # | |
((~) * info (ResolveEditorStateMethod t EditorState), MethodInfo * info EditorState p) => IsLabelProxy t (EditorState -> p) Source # | |
HasAttributeList * EditorState Source # | |
type AttributeList EditorState Source # | |
type SignalList EditorState Source # | |
class GObject o => IsEditorState o Source #
toEditorState :: IsEditorState o => o -> IO EditorState Source #
Methods
getTypingAttributes
data EditorStateGetTypingAttributesMethodInfo Source #
((~) * signature (m Word32), MonadIO m, IsEditorState a) => MethodInfo * EditorStateGetTypingAttributesMethodInfo a signature Source # | |
editorStateGetTypingAttributes Source #
:: (HasCallStack, MonadIO m, IsEditorState a) | |
=> a |
|
-> m Word32 | Returns: a bitmask of |
Gets the typing attributes at the current cursor position. If there is a selection, this returns the typing attributes of the the selected text. Note that in case of a selection, typing attributes are considered active only when they are present throughout the selection.
Since: 2.10
Properties
typingAttributes
data EditorStateTypingAttributesPropertyInfo Source #
editorStateTypingAttributes :: AttrLabelProxy "typingAttributes" Source #
getEditorStateTypingAttributes :: (MonadIO m, IsEditorState o) => o -> m Word32 Source #