parinfer-codemirror
parinfer-codemirror copied to clipboard
Smart mode cut/paste breaks code
https://imgur.com/4BsYQ3e
Pasting something should not alter its semantics
Test case used in video:
[:div {:class class}
[hyperfiddle.ui/table
(fn [ctx]
[(hyperfiddle.ui/field [0 :reg/email] ctx (comp str deref))
(hyperfiddle.ui/field [0 :reg/birthdate] ctx (comp pr-str deref))
(hyperfiddle.ui/field [0 :reg/gender] ctx (comp pr-str deref))
(hyperfiddle.ui/field [0 :reg/shirt-size] ctx (comp (fnil name :–) :db/ident deref))])
hyperfiddle.data/sort-fn
ctx]]