(beautify editor mode {:keys [indent? remove-ending-comments?]})
(create dom-id config)
(create-editor-after-element element
value
opts
&
{:keys [klass remove-ending-comments? indent?]
:or {remove-ending-comments? false
indent? false}})
(current-token editor)
(do-indent editor)
(fix-blank-lines editor)
(fix-comments-lines editor mode)
(get-selection editor)
(get-selection-or-nil editor)
(get-selection-when-selected editor)
(get-value editor)
(list-completions completions editor)
(on-change editor f)
(replace-element-by-editor element
value
{:keys [mode] :as opts}
&
{:keys [klass indent? remove-ending-comments?]
:or {indent? true remove-ending-comments? true}})
(replace-id-by-editor id cm-opts & more-opts)
(set-option editor option value)
(set-value editor value)
(set-value-and-beautify editor mode value opts)
(trigger-autocomplete editor completions)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close