(cursor-position-in-line value position)
Returns [position-within-current-line position-of-current-line previous-line-exists?]
Returns [position-within-current-line position-of-current-line previous-line-exists?]
(index-of-substr-or-end s pattern)
Returns
the index of pattern
in s
- if it has been found
the length of s - if pattern
could not be found in s
Returns the index of `pattern` in `s` - if it has been found the length of s - if `pattern` could not be found in `s`
(next-line-position value position)
Returns the position of the next-line (possibly the length of value, if there is no next value) as well as the chars encountered up to that line, starting from position (in value)
Returns the position of the next-line (possibly the length of value, if there is no next value) as well as the chars encountered up to that line, starting from position (in value)
(reverse-state {value :value
selection-start :selection-start
selection-end :selection-end
:as state})
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |