repl: Refactor editor registration (#14819)

Cleans up action registration with the editors and also fixes a major
bug where only one workspace's panel was getting session info (due to my
not understanding that `cx.observe_new_views` is for the whole app).

Release Notes:

- N/A

Co-authored-by: Conrad <conrad@zed.dev>
5467e18a5bKyle Kelley committed on 7/19/2024, 3:58:57 PM· committed by GitHubparent4c7f103
1 file changedLine totals unavailable