Module

CodeMirror

Package
purescript-codemirror
Repository
rowtype-yoga/purescript-codemirror6

#Stream Source

data Stream

#Extension Source

#Tag Source

data Tag

#HighlightStyle Source

#KeyBinding Source

#EditorState Source

#EditorView Source

#ViewUpdate Source

#Line Source

type Line = { from :: Int, to :: Int }

#Diagnostic Source

type Diagnostic = { from :: Int, message :: String, severity :: String, to :: Int }

#defineStreamLanguage Source

defineStreamLanguage :: forall state. { startState :: Effect state, token :: EffectFn2 Stream state (Nullable String) } -> Extension

#defineHighlightStyle Source

#highlightActiveLineGutter Source

#rectangularSelection Source

#highlightActiveLine Source

#createState Source

createState :: { doc :: String, extensions :: Array Extension } -> EditorState

#createView Source

createView :: { parent :: Element, state :: EditorState } -> Effect EditorView

#documentLine Source

#replaceRange Source

replaceRange :: EditorView -> { from :: Int, insert :: String, to :: Int } -> Effect Unit
Modules
CodeMirror