2dc76a2
Add bindings for subword movement and deletion
Nathan Sobo created
2dc76a2
Add bindings for subword movement and deletion
Nathan Sobo created
1a29180
Fixed issue with enabling and disabling vim mode dynamically
Also added indoc and marked text utility to vim tests to improve readability
Keith Simmons created
0aaf270
Add clip_to_line_end to display_map/snapshot and set it to ensure vim positioning in normal mode
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Keith Simmons and Nathan Sobo created
bb9b36d
Add initial vim mode mode switching
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Keith Simmons and Nathan Sobo created
d742218
Merge pull request #680 from zed-industries/unregister-on-disconnect
Properly clear out registration and sharing state when a host loses their connection
Nathan Sobo created
62b4eb5
Add integration test for dropping host connections while sharing
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
a3e9a3a
Clear out project registration and sharing state on disconnect
Previously, we weren't fully clearing the state associated with projects and worktrees when losing connection. This caused us to not see guest avatars disappear and not be able to re-share upon reconnect. Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
3339739
Merge pull request #678 from zed-industries/disk-based-diagnostics-transformation
Preserve disk-based diagnostics whose ranges intersect with an edit since save
Antonio Scandurra created
abf63b9
Merge pull request #673 from zed-industries/unfold-on-select-match
Unfold when selecting next match
Antonio Scandurra created
865cd19
Preserve disk-based diagnostics whose ranges intersect with an edit since save
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
7a6fe73
Rename `Patch::transform_old` to `Patch::old_to_new`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
eefaa86
Introduce `Patch::transform_old`
Antonio Scandurra created
2c232d5
Merge branch 'main' into unfold-on-select-match
Nathan Sobo created
ccc276d
Merge pull request #672 from zed-industries/fix-unfollowing-on-edit
Automatically unfollow leader only for edits that originate from the follower editor
Nathan Sobo created
8f75520
Merge pull request #676 from zed-industries/highlighted-text-fix
Highlighted text fix
Keith Simmons created
92c7b5d
Remove result from anchor cmp functions
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Keith Simmons and Nathan Sobo created
ab631cf
Change language::anchor::min() to a constant
Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Nathan Sobo <nathan@zed.dev>
Keith Simmons , Antonio Scandurra , and Nathan Sobo created
f6805eb
Make rename highlights work across multibuffer excerpts
Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Nathan Sobo <nathan@zed.dev>
Keith Simmons , Antonio Scandurra , and Nathan Sobo created
1c25b3d
Test the new `inclusive` parameter when unfolding
Antonio Scandurra created
7fa7b7e
Unfold range when selecting the next match
Selected matches are unfolded when in project search, buffer search and when hitting `cmd-d` to select the next match.
Antonio Scandurra created
78b5216
Rename `Editor::unfold` to `Editor::unfold_lines`
Antonio Scandurra created
4f50da7
Allow customizing whether `FoldMap::unfold` treats ranges as inclusive
Antonio Scandurra created
9421ad0
Add a unit test for editor edit events
Antonio Scandurra created
87981bb
Emit an `Edited` event when ending, undoing or redoing a transaction
Antonio Scandurra created
a739c36
Rename `editor::Event::Edited` to `editor::Event::BufferEdited`
This is to distinguish it from a new event we're about to add which represent edits originating from that specific editor.
Antonio Scandurra created
864bede
Use `Editor::transact` everywhere
This is in preparation of emitting an edit event every time a transaction ends or it is undone/redone.
Antonio Scandurra created
ff4bdb3
Fix incorrect highlighting when an empty range is highlighted via the DisplayMap
Co-Authored-By: Keith Simmons <keith@zed.dev>
Max Brunsfeld and Keith Simmons created
1c4090d
Merge pull request #669 from zed-industries/extend-selection-fixes
Fix extending selections starting at ends of syntax nodes
Max Brunsfeld created
22148a3
Fix extending selections starting at ends of other nodes
Fixes #478
Max Brunsfeld created
1dd553b
Merge pull request #657 from zed-industries/global-observations
Add global change observations
Max Brunsfeld created
483a84a
0.22
Max Brunsfeld created
8f7966b
Merge pull request #668 from zed-industries/no-lsp-when-following
Avoid making LSP requests when moving cursor due to following
Max Brunsfeld created
cbd4ef2
Merge pull request #667 from zed-industries/fix-duplicate-nav-entries
Fix duplicate nav entries
Max Brunsfeld created
eb40356
Merge pull request #666 from zed-industries/keychain
Refine authentication and keychain interaction
Max Brunsfeld created
f7e7d58
Avoid making LSP requests when moving cursor due to following
Max Brunsfeld created
e36104f
Add navigation deduping
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Keith Simmons and Antonio Scandurra created
4a42025
Authenticate on startup if ZED_IMPERSONATE is assigned
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
657b92b
Don't prompt for keychain access when launching from a pty
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
ee9ed93
Don't try keychain after authentication fails
Previously, we were achieving this by deleting the keychain item, but this can sometimes fail which leads to an infinite loop. Now, we explicitly never try the keychain when reattempting authentication after authentication fails. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
5cd94b5
WIP
Antonio Scandurra created
255a8c5
Don't push a duplicate nav entry when changing selections via the mouse
Co-Authored-By: Keith Simmons <keith@zed.dev>
Antonio Scandurra and Keith Simmons created
29892ce
Merge pull request #663 from zed-industries/following-pending-selections
Fix error in follower when leader creates pending selections
Max Brunsfeld created
0a8d543
Add global tests and wrap global update functions in update call to flush effects
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Keith Simmons and Antonio Scandurra created
0b3a63b
Fix error in follower when leader creates pending selections
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
454f7a5
Add global change observations
Keith Simmons created
10f1760
Merge pull request #662 from zed-industries/fix-refresh-selections-when-mouse-selecting
Account for pending selections when calling `Editor::refresh_selections`
Antonio Scandurra created
b73f57d
Don't destroy pending selection on `Editor::refresh_selections`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
004f98c
Merge pull request #661 from zed-industries/follow
Introduce basic following experience
Antonio Scandurra created
60b6b0b
Cycle through panes spatially rather than in the order in which they created
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
5ac39aa
Don't show local cursors when editor is not focused
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created