[{"name":"Editor","comment":" Use the Editor module to embed a pure Elm text editor\ninto another application. See `./demo` in the source\ncode for an example.\n\n\n## Setting up the editor\n\n@docs Editor, init, initWithContent, loadArray, loadString, resize, sendLine, syncMessages\n\n\n## Using the editor\n\n@docs EditorMsg, getLines, getContextMenu, update, view\n\n\n## Cursor\n\n@docs insertAtCursor, lineAtCursor, getCursor, setCursor\n\n\n## Clipboard\n\n@docs placeInClipboard\n\n\n## Getting data from the editor\n\n@docs getContent, getLineHeight, getSelectedString, getWrapOption, indexOf\n\n","unions":[{"name":"Editor","comment":" Opaque type for the editor\n","args":[],"cases":[["Editor",["Model.Model"]]]}],"aliases":[{"name":"EditorMsg","comment":" The messages to which the editor responds\n","args":[],"type":"Model.Msg"}],"values":[{"name":"getContent","comment":" Retrieve text from editor\n","type":"Editor.Editor -> String.String"},{"name":"getContextMenu","comment":" Get the context menu\n","type":"Editor.Editor -> ContextMenu.ContextMenu Model.Context"},{"name":"getCursor","comment":" ","type":"Editor.Editor -> { line : Basics.Int, column : Basics.Int }"},{"name":"getLineHeight","comment":" ","type":"Editor.Editor -> Basics.Float"},{"name":"getLines","comment":" Get the current editor content\n","type":"Editor.Editor -> Array.Array String.String"},{"name":"getSelectedString","comment":" ","type":"Editor.Editor -> Maybe.Maybe String.String"},{"name":"getWrapOption","comment":" ","type":"Editor.Editor -> Wrap.WrapOption"},{"name":"indexOf","comment":" Return (lineNumber, target) where target in the\neditor's array of lines is a string\nwhich matches the key\n","type":"Editor.Editor -> String.String -> List.List Basics.Int"},{"name":"init","comment":" Initialize the editor with a configuration\n","type":"Model.Config -> ( Editor.Editor, Platform.Cmd.Cmd Model.Msg )"},{"name":"initWithContent","comment":" -Initialize the the editor with\ngiven content : String\n","type":"String.String -> Model.Config -> Editor.Editor"},{"name":"insertAtCursor","comment":" Insert a string into the editor at a\ngiven cursor location\n","type":"String.String -> Editor.Editor -> Editor.Editor"},{"name":"lineAtCursor","comment":" Return the line where the cursor is\n","type":"Editor.Editor -> String.String"},{"name":"loadArray","comment":" Load content into the editor\n","type":"Array.Array String.String -> Editor.Editor -> Editor.Editor"},{"name":"loadString","comment":" Load a string into the editor\n","type":"String.String -> Editor.Editor -> Editor.Editor"},{"name":"placeInClipboard","comment":" Place string in the editor's clipboard\n","type":"String.String -> Editor.Editor -> Editor.Editor"},{"name":"resize","comment":" Resize the editor\n","type":"Basics.Float -> Basics.Float -> Editor.Editor -> Editor.Editor"},{"name":"sendLine","comment":" Used by a host app to scroll the editor to scroll the\neditor display to the line where the cursor is.\n","type":"Editor.Editor -> ( Editor.Editor, Platform.Cmd.Cmd Model.Msg )"},{"name":"setCursor","comment":" Set the editor's cursor to a given position\n","type":"{ line : Basics.Int, column : Basics.Int } -> Editor.Editor -> Editor.Editor"},{"name":"syncMessages","comment":" Messages to be handles by a host app in some default way\n","type":"List.List Model.Msg"},{"name":"update","comment":" Update the editor with a message\n","type":"Model.Msg -> Editor.Editor -> ( Editor.Editor, Platform.Cmd.Cmd Model.Msg )"},{"name":"view","comment":" View function for the editor\n","type":"Editor.Editor -> Html.Html Model.Msg"}],"binops":[]}]