Module
CodeMirror
- Package
- purescript-codemirror
- Repository
- rowtype-yoga/purescript-codemirror6
#HighlightStyle Source
data HighlightStyle#KeyBinding Source
data KeyBinding#EditorState Source
data EditorState#EditorView Source
data EditorView#ViewUpdate Source
data ViewUpdate#Diagnostic Source
type Diagnostic = { from :: Int, message :: String, severity :: String, to :: Int }#defineHighlightStyle Source
defineHighlightStyle :: Array { color :: String, tag :: Tag } -> HighlightStyle#docChanged Source
docChanged :: ViewUpdate -> Boolean#updateState Source
updateState :: ViewUpdate -> EditorState#createState Source
createState :: { doc :: String, extensions :: Array Extension } -> EditorState#createView Source
createView :: { parent :: Element, state :: EditorState } -> Effect EditorView#state Source
state :: EditorView -> Effect EditorState#documentText Source
documentText :: EditorState -> String#documentLength Source
documentLength :: EditorState -> Int#documentLines Source
documentLines :: EditorState -> Int#documentLine Source
documentLine :: Int -> EditorState -> Line#replaceRange Source
replaceRange :: EditorView -> { from :: Int, insert :: String, to :: Int } -> Effect Unit#setDiagnostics Source
setDiagnostics :: EditorView -> Array Diagnostic -> Effect Unit- Modules
- CodeMirror