(analyze-changes {:keys [uri text version]}
{:keys [producer db*] :as components})
(did-change-watched-files changes
{:keys [db* watched-files-chan] :as components})
(force-get-document-text uri {:keys [db*] :as components})
Get document text from db, if document not found, tries to open the document
Get document text from db, if document not found, tries to open the document
(replace-text original replacement line character end-line end-character)
Returns ORIGINAL text but replacing its substring from LINE number at CHARACTER position to END-LINE number at END-CHARACTER position with REPLACEMENT text.
All line endings of the returned string are replaced with that of the ORIGINAL's line ending type.
The ORIGINAL's line ending type is set to be its first line ending
type (either or
), or, if no newline is found, the
system's line separator.
Returns ORIGINAL text but replacing its substring from LINE number at CHARACTER position to END-LINE number at END-CHARACTER position with REPLACEMENT text. All line endings of the returned string are replaced with that of the ORIGINAL's line ending type. The ORIGINAL's line ending type is set to be its first line ending type (either ` ` or ` `), or, if no newline is found, the system's line separator.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close