Liking cljdoc? Tell your friends :D

paren-soup.core


add-event-listeners!cljs

(add-event-listeners! content events-chan opts)
source

add-newlinecljs

(add-newline {:keys [text] :as state})
source

add-parinfercljs

(add-parinfer enable? console-start-num state)
source

add-parinfer-after-console-startcljs

(add-parinfer-after-console-start console-start-num state)
source

append-textcljs

(append-text editor text)
source

can-redocljs

(can-redo editor)
source

can-undocljs

(can-undo editor)
source

channel?cljs

source

create-editorcljs

(create-editor ps
               content
               events-chan
               {:keys [history-limit append-limit compiler-fn console-callback
                       disable-clj? edit-history]
                :or {history-limit 100 append-limit 5000}})
source

debounce-functioncljs

(debounce-function f millis)
source

Editorcljsprotocol

can-redo?cljs

(can-redo? this)

up!cljs

(up! this alt?)

refresh!cljs

(refresh! this state)

undo!cljs

(undo! this)

redo!cljs

(redo! this)

tab!cljs

(tab! this)

enter!cljs

(enter! this)

append-text!cljs

(append-text! this text)

can-undo?cljs

(can-undo? this)

edit-and-refresh!cljs

(edit-and-refresh! this state)

update-cursor-position!cljs

(update-cursor-position! this position)

eval!cljs

(eval! this form callback)

refresh-after-cut-paste!cljs

(refresh-after-cut-paste! this)

refresh-after-key-event!cljs

(refresh-after-key-event! this event)

initialize!cljs

(initialize! this)

down!cljs

(down! this alt?)

reset-edit-history!cljs

(reset-edit-history! this start)
source

elem?cljs

source

evalcljs

(eval editor form callback)
source

focused-textcljs

(focused-text)
source

hide-error-messages!cljs

(hide-error-messages! parent-elem)

Hides all error popups.

Hides all error popups.
sourceraw docstring

initcljs

(init ps opts)
source

init-allcljs

(init-all)
source

init-statecljs

(init-state content crop? full-selection?)

Returns the editor's state. If full-selection? is true, it will try to save the entire selection rather than just the cursor position.

Returns the editor's state. If full-selection? is true, it will try to save
the entire selection rather than just the cursor position.
sourceraw docstring

key-codecljs

(key-code event)
source

key-name?cljs

(key-name? event key-name)

Returns true if the supplied key event involves the key(s) described by key-name.

Returns true if the supplied key event involves the key(s) described by key-name.
sourceraw docstring

line-numberscljs

(line-numbers line-count)

Adds line numbers to the numbers.

Adds line numbers to the numbers.
sourceraw docstring

obj?cljs

source

post-refresh-content!cljs

(post-refresh-content! content events-chan {:keys [cropped-state] :as state})

Does additional work on the content after it is rendered.

Does additional work on the content after it is rendered.
sourceraw docstring

prevent-default?cljs

(prevent-default? event opts)
source

rainbow-countcljs

source

rainbow-delimiterscljs

(rainbow-delimiters parent level)
(rainbow-delimiters parent level m)

Returns a map of elements and class names.

Returns a map of elements and class names.
sourceraw docstring

redocljs

(redo editor)
source

refresh-console-content!cljs

(refresh-console-content! content state console-start-num clj?)
source

refresh-content!cljs

(refresh-content! content state)

Refreshes the content.

Refreshes the content.
sourceraw docstring

refresh-content-element!cljs

(refresh-content-element! {:keys [element text] :as cropped-state})

Replaces a single node in the content, and siblings if necessary.

Replaces a single node in the content, and siblings if necessary.
sourceraw docstring

refresh-instarepl!cljs

(refresh-instarepl! instarepl content compiler-fn limit)

Refreshes the InstaREPL.

Refreshes the InstaREPL.
sourceraw docstring

refresh-numbers!cljs

(refresh-numbers! numbers line-count)

Refreshes the line numbers.

Refreshes the line numbers.
sourceraw docstring

selected-textcljs

(selected-text)
source

show-error-message!cljs

(show-error-message! parent-elem event)

Shows a popup with an error message.

Shows a popup with an error message.
sourceraw docstring

transient-map?cljs

source

undocljs

(undo editor)
source

update-edit-history!cljs

(update-edit-history! *edit-history state)
source

update-highlight!cljs

(update-highlight! content *last-elem)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close