Commit log

45ecd8e Always use square brackets in `marked_text_ranges`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

686085d Merge pull request #690 from zed-industries/indent-keybindings

Click to expand commit body
Bind `Outdent` and `Indent` respectively to `cmd-[` and `cmd-]`

Antonio Scandurra created

bbfb63f Cap selection history to 1024 entries

Antonio Scandurra created

2a1fed1 Insert tabs instead of indenting only when all selections are empty

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

0cd356c Merge pull request #689 from zed-industries/format-timeout

Click to expand commit body
Skip formatting during save if it takes too long

Antonio Scandurra created

aa3e2ef Merge pull request #691 from zed-industries/snap-icons-to-pixel-grid

Click to expand commit body
Snap icon sprites to pixel grid

Antonio Scandurra created

73c2f52 Implement `cmd-u` and `cmd-shift-u` to undo and redo selections

Antonio Scandurra created

4ed0607 Extract `SelectionHistory` in preparation to store an undo/redo stack

Antonio Scandurra created

3cfa2c6 Autoscroll to newest cursor on cmd-d instead of fitting all selections

Antonio Scandurra created

f69bd0e Snap icon sprites to pixel grid

Click to expand commit body
This should resolve some rendering artifacts potentially caused by
floating point errors when sampling the texture. It should also lead
to crisper images when icons are rendered midway through a pixel.

Antonio Scandurra created

ac88003 Bind `Outdent` and `Indent` respectively to `cmd-[` and `cmd-]`

Antonio Scandurra created

a2c4205 Make indent and outdent explicit actions and unify `tab`bing logic

Antonio Scandurra created

03752f9 Fix warnings

Antonio Scandurra created

2c78c83 Skip formatting during save if it takes too long

Antonio Scandurra created

26aa138 Fire fake timers waking up at the same time as the current clock

Antonio Scandurra created

cbd2660 Allow returning futures in fake language server request handlers

Antonio Scandurra created

a7a52ef Add word and line movement in vim normal mode

Click to expand commit body
Add jump to start and end of the document
Move vim tests to relevant vim files
Rename VimTestAppContext to VimTestContext for brevity
Improve VimTestContext assertions to pretty print locations when selection position assertion panics

Keith Simmons created

3ae5fc7 Merge pull request #686 from zed-industries/disable-vim-on-start

Click to expand commit body
Fully disable vim mode on start unless it's enabled

Nathan Sobo created

c6ad667 Assign normal mode when re-enabling

Nathan Sobo created

daf999c Fully disable vim mode on start unless it's enabled

Click to expand commit body
Also: Make some structural adjustments to remove the need for defer. Instead of accessing the global in associated VimState functions, have a single method that allows us to call update instance methods.

Nathan Sobo created

30e31f6 Test that vim mode can be disabled on startup

Nathan Sobo created

2837125 0.23.0

Nathan Sobo created

fe1f857 Merge pull request #684 from zed-industries/subword

Click to expand commit body
Add bindings for subword movement and deletion

Nathan Sobo created

d443627 Merge pull request #682 from zed-industries/vim-hjkl

Click to expand commit body
Vim hjkl

Nathan Sobo created

2dc76a2 Add bindings for subword movement and deletion

Nathan Sobo created

1a29180 Fixed issue with enabling and disabling vim mode dynamically

Click to expand commit body
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

Click to expand commit body
Co-authored-by: Nathan Sobo <nathan@zed.dev>

Keith Simmons and Nathan Sobo created

bb9b36d Add initial vim mode mode switching

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
Unfold when selecting next match

Antonio Scandurra created

865cd19 Preserve disk-based diagnostics whose ranges intersect with an edit since save

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

7a6fe73 Rename `Patch::transform_old` to `Patch::old_to_new`

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
Highlighted text fix

Keith Simmons created

92c7b5d Remove result from anchor cmp functions

Click to expand commit body
Co-authored-by: Nathan Sobo <nathan@zed.dev>

Keith Simmons and Nathan Sobo created

ab631cf Change language::anchor::min() to a constant

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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`

Click to expand commit body
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

Click to expand commit body
This is in preparation of emitting an edit event every time a transaction ends
or it is undone/redone.

Antonio Scandurra created