- textBufferWrapAction :: TextBufferClass self => self -> IO () -> IO ()
- textBufferGetTagTextWithIter :: TextBufferClass buffer => buffer -> TextIter -> TextTag -> IO (Maybe String)
- textBufferGetTagText :: TextBufferClass buffer => buffer -> TextTag -> IO (Maybe String)
- textBufferGetTagByteStringWithIter :: TextBufferClass buffer => buffer -> TextIter -> TextTag -> IO (Maybe ByteString)
- textBufferGetTagByteString :: TextBufferClass buffer => buffer -> TextTag -> IO (Maybe ByteString)
- textBufferKeepSelection :: TextBufferClass self => self -> Bool -> Bool -> IO () -> IO ()
- textBufferMoveRange :: TextBufferClass self => self -> TextIter -> TextIter -> TextIter -> IO ()
- textBufferCancelSelection :: TextBufferClass self => self -> IO ()
- textBufferGetInsertIter :: TextBufferClass self => self -> IO TextIter
- textBufferGetLineStartIter :: TextBufferClass self => self -> Int -> IO TextIter
- textBufferGetCurrentLineStartIter :: TextBufferClass self => self -> IO TextIter
- textBufferGetLineEndIter :: TextBufferClass self => self -> Int -> Bool -> IO TextIter
- textBufferGetCurrentLineEndIter :: TextBufferClass self => self -> IO TextIter
- textBufferGetCurrentLineEndIter_ :: TextBufferClass self => self -> IO TextIter
- textBufferGetLine :: TextBufferClass self => self -> IO Int
- textBufferGetLineOffset :: TextBufferClass self => self -> IO Int
- textBufferSelectionIter :: Attr TextBuffer (Maybe TextIter)
- textBufferSetSelectionIter :: TextBufferClass self => self -> TextIter -> IO ()
- textBufferRemoveSelectionIter :: TextBufferClass self => self -> IO ()
- textBufferGetSelectionIter :: TextBufferClass self => self -> IO (Maybe TextIter)
- textBufferUpdateSelectionIter :: TextBufferClass self => self -> IO ()
- textBufferGetSelectionBoundLines :: TextBufferClass self => self -> IO (TextIter, TextIter, Bool, Bool)
- textBufferGetSelectionBoundIter :: TextBufferClass self => self -> IO TextIter
- textBufferGetSelectionInsertIter :: TextBufferClass self => self -> IO TextIter
- textBufferIsEqualInsertIter :: TextBufferClass self => self -> TextIter -> IO Bool
- textBufferDeleteLastChar :: TextBufferClass self => self -> IO ()
- textBufferInsertNewlineAtMark :: TextBufferClass self => self -> TextMark -> IO ()
- textBufferInsertAtMark :: TextBufferClass self => self -> TextMark -> String -> IO ()
- textViewPlaceCursor :: TextViewClass self => self -> TextIter -> IO ()
- textViewPlaceCursorWithMark :: TextViewClass self => self -> TextMark -> IO ()
- textViewGotoLine :: TextViewClass self => self -> Int -> IO ()
- textViewGotoColumn :: TextViewClass self => self -> Int -> IO ()
- textViewWrapAction :: TextViewClass self => self -> IO () -> IO ()
- textViewLoadFile :: TextViewClass self => self -> FilePath -> IO ()
- textViewSetText :: TextViewClass self => self -> String -> IO ()
- textViewGetTextIter :: TextViewClass self => self -> IO TextIter
- textViewMoveTextIter :: (TextViewClass self, ScrolledWindowClass swc) => (TextIter -> IO Bool) -> self -> swc -> IO ()
- textViewForwardLine :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewBackwardLine :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewForwardChar :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewBackwardChar :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewForwardWord :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewBackwardWord :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewBegin :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewEnd :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewGetText :: TextViewClass self => self -> IO String
- textViewGetCurrentLineContent :: TextViewClass self => self -> IO String
- textViewGetLine :: TextViewClass self => self -> IO Int
- textViewGetColumn :: TextViewClass self => self -> IO Int
- textViewSelectAll :: TextViewClass self => self -> IO ()
- textViewDelete :: TextViewClass self => self -> Bool -> Bool -> IO Bool
- textViewCut :: TextViewClass self => self -> IO ()
- textViewCopy :: TextViewClass self => self -> IO ()
- textViewPaste :: TextViewClass self => self -> IO ()
- textViewDeleteForwardChar :: TextViewClass self => self -> Bool -> IO Bool
- textViewDeleteBackwardChar :: TextViewClass self => self -> Bool -> IO Bool
- textViewDeleteForwardWord :: TextViewClass self => self -> Bool -> IO Bool
- textViewDeleteBackwardWord :: TextViewClass self => self -> Bool -> IO Bool
- textViewDeleteToLineEnd :: TextViewClass self => self -> Bool -> IO Bool
- textViewDeleteToLineStart :: TextViewClass self => self -> Bool -> IO Bool
- textViewDeleteBound :: TextViewClass self => self -> (TextIter -> IO Bool) -> Bool -> IO Bool
- textViewDupLines :: TextViewClass self => self -> Bool -> IO ()
- textViewDupLinesAbove :: TextViewClass self => self -> IO ()
- textViewDupLinesBelow :: TextViewClass self => self -> IO ()
- textViewTraLines :: TextViewClass self => self -> Bool -> IO ()
- textViewTraLinesAbove :: TextViewClass self => self -> IO ()
- textViewTraLinesBelow :: TextViewClass self => self -> IO ()
- textViewDelLines :: TextViewClass self => self -> IO Bool
- textViewSmartHome :: TextViewClass self => self -> IO ()
- textViewSmartEnd :: TextViewClass self => self -> IO ()
- textViewScrollVertical :: (TextViewClass tvc, ScrolledWindowClass swc) => tvc -> swc -> Double -> IO ()
- textViewToggleSelectionMark :: TextViewClass self => self -> IO ()
- textViewExchangeSelectionMark :: TextViewClass self => self -> IO ()
- textViewScrollCursorOnscreen :: TextViewClass self => self -> IO ()
- textViewSetSelectionMark :: TextViewClass self => self -> IO ()
- textViewCancelSelectionMark :: TextViewClass self => self -> IO ()
- textViewApplySelectionMark :: TextViewClass self => self -> IO ()
- textViewNewLine :: TextViewClass self => self -> IO ()
- textViewInsertAtCursor :: TextViewClass self => self -> String -> IO ()
- textViewOpenNewlineBelow :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textViewOpenNewlineAbove :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()
- textIterBackwardToStart :: TextIter -> IO ()
- textIterForwardToLineEnd_ :: TextIter -> IO ()
- textIterInBlankLine :: TextIter -> IO Bool
- textIterIsFirstLine :: TextIter -> IO Bool
- textIterIsLastLine :: TextIter -> IO Bool
- textIterBackwardToLineStart :: TextIter -> IO ()
- textIterGetCharsInLine_ :: TextIter -> IO Int
- textIterBoundIsEditable :: (TextIter, TextIter) -> IO Bool
Documentation
textBufferWrapAction :: TextBufferClass self => self -> IO () -> IO ()Source
Wrap user action. Then user can undo/redo this action.
textBufferGetTagTextWithIter :: TextBufferClass buffer => buffer -> TextIter -> TextTag -> IO (Maybe String)Source
Get text with given text tag.
textBufferGetTagText :: TextBufferClass buffer => buffer -> TextTag -> IO (Maybe String)Source
Get insert text with given text tag.
textBufferGetTagByteStringWithIter :: TextBufferClass buffer => buffer -> TextIter -> TextTag -> IO (Maybe ByteString)Source
Get bytestring with give text tag.
textBufferGetTagByteString :: TextBufferClass buffer => buffer -> TextTag -> IO (Maybe ByteString)Source
Get insert text with given text tag.
textBufferKeepSelection :: TextBufferClass self => self -> Bool -> Bool -> IO () -> IO ()Source
Text buffer keep selection to execute action.
textBufferMoveRange :: TextBufferClass self => self -> TextIter -> TextIter -> TextIter -> IO ()Source
Move text, tags, and pixbufs between start and end (the order of start and end doesn't matter) to iter.
textBufferCancelSelection :: TextBufferClass self => self -> IO ()Source
Cancel selection.
textBufferGetInsertIter :: TextBufferClass self => self -> IO TextIterSource
Get text iter at cursor.
textBufferGetLineStartIter :: TextBufferClass self => self -> Int -> IO TextIterSource
Create an iterator at start position of special line.
textBufferGetCurrentLineStartIter :: TextBufferClass self => self -> IO TextIterSource
Create an iterator at start position of current line.
textBufferGetLineEndIter :: TextBufferClass self => self -> Int -> Bool -> IO TextIterSource
Create an iterator line delimiter characters, If incLimitincDelimiter is True which will be either a newline, a carriage return, a carriage return/newline in sequence. Otherwise, not include delimiter characters.
textBufferGetCurrentLineEndIter :: TextBufferClass self => self -> IO TextIterSource
Create an iterator line delimiter characters, which will be either a newline, a carriage return, a carriage return/newline in sequence.
textBufferGetCurrentLineEndIter_ :: TextBufferClass self => self -> IO TextIterSource
Create an iterator line delimiter characters,
textBufferGetLine :: TextBufferClass self => self -> IO IntSource
Get line from text buffer.
textBufferGetLineOffset :: TextBufferClass self => self -> IO IntSource
Get line offset from text buffer.
textBufferSetSelectionIter :: TextBufferClass self => self -> TextIter -> IO ()Source
Set text buffer selection iter.
textBufferRemoveSelectionIter :: TextBufferClass self => self -> IO ()Source
Remove text buffer selection iter.
textBufferGetSelectionIter :: TextBufferClass self => self -> IO (Maybe TextIter)Source
Get text buffer selection iter.
textBufferUpdateSelectionIter :: TextBufferClass self => self -> IO ()Source
Update selection iter after buffer changed. If selection active, just update SelectionIter, otherwise set Nothing.
textBufferGetSelectionBoundLines :: TextBufferClass self => self -> IO (TextIter, TextIter, Bool, Bool)Source
Get selection bound line.
textBufferGetSelectionBoundIter :: TextBufferClass self => self -> IO TextIterSource
Get bound iter of selection region.
textBufferGetSelectionInsertIter :: TextBufferClass self => self -> IO TextIterSource
Get insert iter of selection region.
textBufferIsEqualInsertIter :: TextBufferClass self => self -> TextIter -> IO BoolSource
Is equal current InsertIter?
textBufferDeleteLastChar :: TextBufferClass self => self -> IO ()Source
Delete last char.
textBufferInsertNewlineAtMark :: TextBufferClass self => self -> TextMark -> IO ()Source
Text buffer newline at mark.
textBufferInsertAtMark :: TextBufferClass self => self -> TextMark -> String -> IO ()Source
Text buffer insert at mark.
textViewPlaceCursor :: TextViewClass self => self -> TextIter -> IO ()Source
Text view place cursor. Move insert to iter, then scroll text view to visible area of widget.
textViewPlaceCursorWithMark :: TextViewClass self => self -> TextMark -> IO ()Source
Place cursor with mark.
textViewGotoLine :: TextViewClass self => self -> Int -> IO ()Source
Goto line. If line number not in buffer bound, goto min/max line.
textViewGotoColumn :: TextViewClass self => self -> Int -> IO ()Source
Goto column. If column number not in buffer bound, goto start/end of line.
textViewWrapAction :: TextViewClass self => self -> IO () -> IO ()Source
Text view wrap user action.
textViewLoadFile :: TextViewClass self => self -> FilePath -> IO ()Source
Text View load file.
textViewSetText :: TextViewClass self => self -> String -> IO ()Source
Set text.
textViewGetTextIter :: TextViewClass self => self -> IO TextIterSource
Get text iter from text view.
textViewMoveTextIter :: (TextViewClass self, ScrolledWindowClass swc) => (TextIter -> IO Bool) -> self -> swc -> IO ()Source
Move text iter
textViewForwardLine :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Forward line.
textViewBackwardLine :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Backward line.
textViewForwardChar :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Forward char.
textViewBackwardChar :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Backward char.
textViewForwardWord :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Forward word.
textViewBackwardWord :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Backward word.
textViewBegin :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Move to buffer beginning.
textViewEnd :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Move to buffer end.
textViewGetText :: TextViewClass self => self -> IO StringSource
Get text.
textViewGetCurrentLineContent :: TextViewClass self => self -> IO StringSource
Get current line.
textViewGetLine :: TextViewClass self => self -> IO IntSource
Get current line number.
textViewGetColumn :: TextViewClass self => self -> IO IntSource
Get current column number
textViewSelectAll :: TextViewClass self => self -> IO ()Source
Select all.
textViewDelete :: TextViewClass self => self -> Bool -> Bool -> IO BoolSource
Delete.
textViewCut :: TextViewClass self => self -> IO ()Source
Cut.
textViewCopy :: TextViewClass self => self -> IO ()Source
Copy.
textViewPaste :: TextViewClass self => self -> IO ()Source
Paste.
textViewDeleteForwardChar :: TextViewClass self => self -> Bool -> IO BoolSource
Delete forward char.
textViewDeleteBackwardChar :: TextViewClass self => self -> Bool -> IO BoolSource
Delete backward char.
textViewDeleteForwardWord :: TextViewClass self => self -> Bool -> IO BoolSource
Delete forward word.
textViewDeleteBackwardWord :: TextViewClass self => self -> Bool -> IO BoolSource
Delete backward word.
textViewDeleteToLineEnd :: TextViewClass self => self -> Bool -> IO BoolSource
Delete to line end.
textViewDeleteToLineStart :: TextViewClass self => self -> Bool -> IO BoolSource
Delete to line start.
textViewDeleteBound :: TextViewClass self => self -> (TextIter -> IO Bool) -> Bool -> IO BoolSource
Delete bound.
textViewDupLines :: TextViewClass self => self -> Bool -> IO ()Source
Duplicate lines. Just duplicate current line to below if haven't selection anything. Otherwise duplicate selection lines to below.
textViewDupLinesAbove :: TextViewClass self => self -> IO ()Source
textViewDupLinesBelow :: TextViewClass self => self -> IO ()Source
textViewTraLines :: TextViewClass self => self -> Bool -> IO ()Source
Transposes lines. Just transposes current line to below if haven't selection anything. Otherwise transposes selection lines to below.
textViewTraLinesAbove :: TextViewClass self => self -> IO ()Source
textViewTraLinesBelow :: TextViewClass self => self -> IO ()Source
textViewDelLines :: TextViewClass self => self -> IO BoolSource
Delete lines.
Just delete current line to below if haven't selection anything.
Otherwise delete selection lines to below.
Return False
if in uneditable area.
textViewSmartHome :: TextViewClass self => self -> IO ()Source
Smart home.
textViewSmartEnd :: TextViewClass self => self -> IO ()Source
Smart end.
textViewScrollVertical :: (TextViewClass tvc, ScrolledWindowClass swc) => tvc -> swc -> Double -> IO ()Source
Scroll vertical.
textViewToggleSelectionMark :: TextViewClass self => self -> IO ()Source
Toggle selection.
textViewExchangeSelectionMark :: TextViewClass self => self -> IO ()Source
Exchange selection mark.
textViewScrollCursorOnscreen :: TextViewClass self => self -> IO ()Source
Scroll text view the minimum distance such that cursor is contained within the visible area of widget.
textViewSetSelectionMark :: TextViewClass self => self -> IO ()Source
Set selection.
textViewCancelSelectionMark :: TextViewClass self => self -> IO ()Source
Cancel selection.
textViewApplySelectionMark :: TextViewClass self => self -> IO ()Source
Apply selection.
textViewNewLine :: TextViewClass self => self -> IO ()Source
Text view newline.
textViewInsertAtCursor :: TextViewClass self => self -> String -> IO ()Source
Insert string at cursor.
textViewOpenNewlineBelow :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Move to next line and then opens a line.
textViewOpenNewlineAbove :: (TextViewClass self, ScrolledWindowClass swc) => self -> swc -> IO ()Source
Move to previous line and then opens a line.
textIterBackwardToStart :: TextIter -> IO ()Source
Move to `first iter` of buffer.
textIterForwardToLineEnd_ :: TextIter -> IO ()Source
Forward to line end, like textIterForwardToLineEnd, but don't move to next line when current line is empty.
textIterInBlankLine :: TextIter -> IO BoolSource
In blank line.
textIterIsFirstLine :: TextIter -> IO BoolSource
Is first line.
textIterIsLastLine :: TextIter -> IO BoolSource
Is last line.
textIterBackwardToLineStart :: TextIter -> IO ()Source
Backward to line start.
textIterGetCharsInLine_ :: TextIter -> IO IntSource
Return number of characters in this line. The return value not includes delimiters.