manatee-core-0.0.1: The core of Manatee.

Manatee.Toolkit.Gtk.Multiline

Synopsis

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.

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.

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.

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.

textIterBoundIsEditable :: (TextIter, TextIter) -> IO BoolSource

Whether selection iter is editable.