Commit log

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

9277529 Merge pull request #28 from zed-industries/close-tabs

Click to expand commit body
Add tab close buttons

Nathan Sobo created

53013b3 Merge remote-tracking branch 'origin/master' into close-tabs

Nathan Sobo created

1cb3fdb Synthesize a mouse moved event in the previous position after painting a scene

Click to expand commit body
This ensures that we correctly update the hover state of elements whose position has changed relative to the mouse cursor even though the mouse hasn't actually moved.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo , Antonio Scandurra , and Max Brunsfeld created

b5463dc Close tabs when X is clicked

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

Nathan Sobo and Antonio Scandurra created

bc1f758 Lighten tab close button when clicked

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

Nathan Sobo and Antonio Scandurra created

8c51bb2 Render sprited icons at 2x resolution since we don't align to pixel grid

Click to expand commit body
This provides the sampler with a bit more data when positioning sprites at subpixel positions.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

1eba61c Flush the fs event stream on construction

Max Brunsfeld created

69cc2b0 WIP

Nathan Sobo created

c1d35b0 Ignore 'historical' events from fs event stream

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

Max Brunsfeld and Nathan Sobo created

907b537 Fix race when fs events occur right after constructing worktree

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

Max Brunsfeld and Nathan Sobo created

58e3363 Align close tab icon cleanly with unsaved indicator

Nathan Sobo created

110dcc4 Merge pull request #26 from zed-industries/stable-file-finder-results

Click to expand commit body
Improve file finder behavior when opening large directories like `~` or `/`

Max Brunsfeld created

eec8a3b Simplify file finder update_matches logic

Max Brunsfeld created

75b8f74 Avoid redundant `sort_unstable_by` call on merged fuzzy matches

Max Brunsfeld created