- type EditableContent = String
- type EditableBound = (Int, Int)
- type EditableStatus = (EditableContent, EditableBound)
- editableFocus :: EditableClass self => self -> IO ()
- editableGetUnselectText :: EditableClass self => self -> IO String
- editableSelectToEnd :: EditableClass self => self -> Int -> IO ()
- editableGetAllText :: EditableClass self => self -> IO String
- editableSetText :: EditableClass self => self -> String -> IO ()
- editableSetCompletionText :: EditableClass self => self -> String -> String -> IO ()
- editableSetBound :: EditableClass self => self -> (Int, Int) -> IO ()
- editableGetStatus :: EditableClass self => self -> IO EditableStatus
- editableSetStatus :: EditableClass self => self -> EditableStatus -> IO ()
- editableDeleteAllText :: EditableClass self => self -> IO ()
- editableExpandCompletion :: EditableClass self => self -> IO ()
- editableDeleteBackwardChar :: EditableClass self => self -> IO ()
- editableDeleteBackwardWord :: EditableClass self => self -> IO ()
- editableBackwardChar :: EditableClass self => self -> IO ()
- editableIsChanged :: EditableClass self => self -> IO () -> IO Bool
Documentation
type EditableContent = StringSource
type EditableBound = (Int, Int)Source
type EditableStatus = (EditableContent, EditableBound)Source
editableFocus :: EditableClass self => self -> IO ()Source
Focus editable and keep status.
editableGetUnselectText :: EditableClass self => self -> IO StringSource
Get unselect text.
editableSelectToEnd :: EditableClass self => self -> Int -> IO ()Source
Select from current position to end.
editableGetAllText :: EditableClass self => self -> IO StringSource
Get all text.
editableSetText :: EditableClass self => self -> String -> IO ()Source
Set text.
editableSetCompletionText :: EditableClass self => self -> String -> String -> IO ()Source
Set completion text.
editableSetBound :: EditableClass self => self -> (Int, Int) -> IO ()Source
Set bound.
editableGetStatus :: EditableClass self => self -> IO EditableStatusSource
Get status.
editableSetStatus :: EditableClass self => self -> EditableStatus -> IO ()Source
Set status.
editableDeleteAllText :: EditableClass self => self -> IO ()Source
Delete all text.
editableExpandCompletion :: EditableClass self => self -> IO ()Source
Expand completion.
editableDeleteBackwardChar :: EditableClass self => self -> IO ()Source
Delete backward char.
editableDeleteBackwardWord :: EditableClass self => self -> IO ()Source
Delete backward word.
editableBackwardChar :: EditableClass self => self -> IO ()Source
Backward char.
editableIsChanged :: EditableClass self => self -> IO () -> IO BoolSource
Whether changed after do editable action?