Commit log

5c392f9 Merge branch 'master' into buffer-per-inode

Nathan Sobo created

8820df7 Rename WorkspaceView to Workspace and reorganize module

Nathan Sobo created

366f8fc Inline methods previously moved from Workspace

Nathan Sobo created

ed28bd3 Combine Workspace and WorkspaceView

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

aa2a2ec Merge pull request #37 from zed-industries/move-line-up-down

Click to expand commit body
Move line up and down

Nathan Sobo created

b801628 Clean up

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

afb623b Make Workspace::open_entry2, which returns a dyn ItemViewHandle

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

837f34a Fix cases where new folds that end where existing folds start

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

189ee7c Add failing unit test for adjacent folds

Max Brunsfeld created

4b38f28 WIP

Antonio Scandurra created

4c46575 Account for folds when moving selections up/down

Antonio Scandurra created

49dc040 Use a more direct manipulation for moving lines up or down

Antonio Scandurra created

76b454d Push selections down correctly when moving a line down

Antonio Scandurra created

8cd451f Implement `move_line_up` and `move_line_down`

Click to expand commit body
This does not restore folds yet.

Antonio Scandurra created

c01263b Merge pull request #35 from zed-industries/move-to-prev-next-word-boundary

Click to expand commit body
Implement word boundary movement/selection/deletion

Antonio Scandurra created

d499fb0 Merge pull request #36 from zed-industries/bind-backspace

Click to expand commit body
Bind `ctrl-h` to `backspace`

Antonio Scandurra created

51ae37e Bind `ctrl-h` to `backspace`

Antonio Scandurra created

9c32165 Add test for word boundary movement/selection/deletion

Antonio Scandurra created

f352cfb Implement `delete_to_{previous,next}_word_boundary`

Antonio Scandurra created

1a0dbb2 Implement `select_to_{previous,next}_word_boundary`

Antonio Scandurra created

bc686b4 Implement `move_to_previous_word_boundary`

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra and Max Brunsfeld created

0a28c78 Implement `move_to_next_word_boundary` for buffer

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

Antonio Scandurra and Nathan Sobo created

0e432ed Merge pull request #32 from zed-industries/editor-keybindings

Click to expand commit body
Initial editor keybindings

Antonio Scandurra created

8cffa8b Move file handle from buffer to buffer view

Max Brunsfeld created

d2f309d Merge pull request #31 from zed-industries/open-files

Click to expand commit body
Allow opening files from the CLI and from the File > Open menu

Max Brunsfeld created

9b0cc0a Avoid cancelling ::open_entry task in FileFinder

Max Brunsfeld created

5826a97 Return a future from WorkspaceView::open_paths

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

Max Brunsfeld and Nathan Sobo created

c867cfa Tweak durations in fsevent unit test to reduce odds of timeout

Max Brunsfeld created

b126938 In file finder, handle single-file worktrees & multiple matches w/ same rel path

Max Brunsfeld created

d19fd77 :lipstick:

Antonio Scandurra created

283c734 Implement `{move_to,select_to,delete_to}_{beginning,end}_of_line`

Antonio Scandurra created

0aacf85 Don't rely on `Range::is_empty` to check for selection emptiness

Click to expand commit body
This method returns true when `start > end`, so our `backspace` and
`delete` implementations were subtly wrong because they always deleted
one extra character for reversed selections.

Antonio Scandurra created

fdefd32 Implement `duplicate_line` for buffer

Antonio Scandurra created

5d28fb8 Extract a `Selection::buffer_row_range` method

Antonio Scandurra created

2a0a2ee Fix `delete_line` for non-empty selections that end at the start of line

Antonio Scandurra created

618cb8a Bind also `ctrl-d` to `buffer:delete`

Antonio Scandurra created

cee9509 Fix `delete_line` test

Antonio Scandurra created

ccd244b WIP: start on a test for `delete_line`

Click to expand commit body
Discovered a bug that's highlighted by the test that causes selections
to not be in the right order.

Antonio Scandurra created

834602e Implement `delete_line` for buffer

Click to expand commit body
This still needs unit tests.

Antonio Scandurra created

21442bd Don't propagate action when selecting up/down in single-line editors

Antonio Scandurra created

c524cc4 Implement `select_to_beginning` and `select_to_end` for buffer

Antonio Scandurra created

45452bb Implement `move_to_beginning` and `move_to_end` for buffer

Antonio Scandurra created

b7c30eb Implemente `delete` for buffer

Antonio Scandurra created

324a6ff Implement `select_all` for buffer

Antonio Scandurra created

88b88a8 Start work on opening files

Max Brunsfeld created

3d6336b Merge pull request #29 from zed-industries/traverse-symlinks

Click to expand commit body
Traverse symlinks when populating directories

Nathan Sobo created

e423a49 Traverse symlinks when populating directories

Nathan Sobo created

6b357a6 Fix tests

Click to expand commit body
I didn't realize a previous change had broken stuff. We need to always call `remove_dropped_entities` and `update_windows` in `flush_effects`, even if there aren't any effects. To achieve this, I use a `loop` to ensure we call these methods at least once before breaking.

Nathan Sobo created

95fae8e Always run all crates' tests in CI

Max Brunsfeld created

21cfb75 Flush redundant fs events in worktree test

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created