Skip to content

Commit

Permalink
Show cursor after indent
Browse files Browse the repository at this point in the history
  • Loading branch information
sid597 committed Jun 30, 2021
1 parent 52441a2 commit 59d238b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cljs/athens/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,8 @@
value)
tx (resolver/resolve-event-to-tx @db/dsdb indent-event)]
(js/console.debug ":indent tx:" (pr-str tx))
{:fx [[:dispatch-n [[:transact tx]]]]})
{:fx [[:dispatch [:transact tx]
:set-cursor-position [uid start end]]]})
{:fx [[:dispatch [:remote/indent (merge (select-keys args [:uid])
{:start start
:end end
Expand Down

0 comments on commit 59d238b

Please sign in to comment.