2c232d5
Merge branch 'main' into unfold-on-select-match
Nathan Sobo 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
4f27049
Focus followed items when they become active if the pane is active
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
edc038a
Activate previous pane and next pane via `cmd-k cmd-left` and `cmd-k cmd-right`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
097bbe3
Update follow binding, remove unfollow binding
The previous binding to follow had ergonomics issues for the frequency that I think we'll want to use it. It would also conflict with the sub-word selection binding. Now that moving the cursor etc unfollows, I don't think we need the follow binding.
Nathan Sobo created
da15669
Merge pull request #656 from zed-industries/add-editor-lifetime-events
Add editor lifetime events
Nathan Sobo created
d24bd6f
Account for pending selections when calling `Editor::refresh_selections`
Antonio Scandurra created
3298529
Fix global nested event test after turning subscriptions into effects
Antonio Scandurra created
7acde40
Merge pull request #655 from zed-industries/add-editor-selection-helpers
Add editor selection helpers
Keith Simmons created
fa62fd9
Autoscroll when leader moves cursors
instead of copying their scroll top. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
fad299e
Add unit test for editor's following methods
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
8699dd9
Replicate fractional component of leader's scroll position
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
880eaa2
Coalesce followed view updates only within one frame
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
4435d9b
Combine updates from multiple view events when updating followers
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created