manatee-editor-0.0.1: Editor extension for Manatee.

Manatee.Extension.Editor.SourceView

Synopsis

Documentation

sourceViewNew :: SourceBuffer -> PagePlugId -> IO SourceViewSource

Internal function for create string buffer.

sourceViewGetText :: SourceView -> IO StringSource

Get buffer content.

sourceViewGetLine :: SourceView -> IO IntSource

Get current line.

sourceViewGetColumn :: SourceView -> IO IntSource

Get current column.

sourceViewDisplayPositionStatus :: SourceView -> IO ()Source

Display position information.

sourceViewHandlePositionDisplay :: SourceView -> IO ()Source

Update position information.

sourceViewGetLanguage :: SourceView -> IO (Maybe SourceLanguage)Source

Get string buffer language.

sourceViewSetLanguage :: SourceView -> SourceLanguage -> IO ()Source

Set string buffer language.

sourceViewSyntaxHighlight :: SourceView -> IO ()Source

Syntax highlight with file name.

sourceViewName :: SourceView -> IO StringSource

Get buffer name.

sourceViewWrapAction :: SourceView -> IO () -> IO ()Source

String view wrap user action for undo/redo.

sourceViewKeymap :: Map Text (SourceView -> IO ())Source

String buffer keymap.

sourceViewExchangeSelectionMark :: SourceView -> IO ()Source

Exchange selection mark.

sourceViewScrollVerticalPage :: Bool -> SourceView -> IO ()Source

Scroll page vertically.

sourceViewScrollVerticalStep :: Bool -> SourceView -> IO ()Source

Scroll step vertically.