mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix(chore): typos
This commit is contained in:
@@ -155,8 +155,8 @@
|
||||
(set! js/window -CodeMirror CodeMirror)
|
||||
|
||||
|
||||
(defn- all-tokens-by-cursur
|
||||
"All tokens from the beginning of the document to the cursur(inclusive)."
|
||||
(defn- all-tokens-by-cursor
|
||||
"All tokens from the beginning of the document to the cursor(inclusive)."
|
||||
[cm]
|
||||
(let [cur (.getCursor cm)
|
||||
line (.-line cur)
|
||||
@@ -236,7 +236,7 @@
|
||||
(defn- doc-state-at-cursor
|
||||
"Parse tokens into document state of last token."
|
||||
[cm]
|
||||
(let [tokens (all-tokens-by-cursur cm)
|
||||
(let [tokens (all-tokens-by-cursor cm)
|
||||
{:keys [current-config-path state-stack]} (tokens->doc-state tokens)
|
||||
doc-state (first state-stack)]
|
||||
[current-config-path doc-state]))
|
||||
@@ -543,4 +543,4 @@
|
||||
textarea-ref (.querySelector block-node "textarea")]
|
||||
(when-let [codemirror-ref (gobj/get textarea-ref codemirror-ref-name)]
|
||||
(.focus codemirror-ref))))
|
||||
100)))
|
||||
256)))
|
||||
|
||||
Reference in New Issue
Block a user