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
4 years ago
d499fb0
Merge pull request #36 from zed-industries/bind-backspace
Click to expand commit body
Bind `ctrl-h` to `backspace`
Antonio Scandurra
created
4 years ago
51ae37e
Bind `ctrl-h` to `backspace`
Antonio Scandurra
created
4 years ago
9c32165
Add test for word boundary movement/selection/deletion
Antonio Scandurra
created
4 years ago
f352cfb
Implement `delete_to_{previous,next}_word_boundary`
Antonio Scandurra
created
4 years ago
1a0dbb2
Implement `select_to_{previous,next}_word_boundary`
Antonio Scandurra
created
4 years ago
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
4 years ago
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
4 years ago
0e432ed
Merge pull request #32 from zed-industries/editor-keybindings
Click to expand commit body
Initial editor keybindings
Antonio Scandurra
created
4 years ago
8cffa8b
Move file handle from buffer to buffer view
Max Brunsfeld
created
4 years ago
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
4 years ago
9b0cc0a
Avoid cancelling ::open_entry task in FileFinder
Max Brunsfeld
created
4 years ago
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
4 years ago
c867cfa
Tweak durations in fsevent unit test to reduce odds of timeout
Max Brunsfeld
created
4 years ago
b126938
In file finder, handle single-file worktrees & multiple matches w/ same rel path
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
283c734
Implement `{move_to,select_to,delete_to}_{beginning,end}_of_line`
Antonio Scandurra
created
4 years ago
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
4 years ago
fdefd32
Implement `duplicate_line` for buffer
Antonio Scandurra
created
4 years ago
5d28fb8
Extract a `Selection::buffer_row_range` method
Antonio Scandurra
created
4 years ago
2a0a2ee
Fix `delete_line` for non-empty selections that end at the start of line
Antonio Scandurra
created
4 years ago
618cb8a
Bind also `ctrl-d` to `buffer:delete`
Antonio Scandurra
created
4 years ago
cee9509
Fix `delete_line` test
Antonio Scandurra
created
4 years ago
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
4 years ago
834602e
Implement `delete_line` for buffer
Click to expand commit body
This still needs unit tests.
Antonio Scandurra
created
4 years ago
21442bd
Don't propagate action when selecting up/down in single-line editors
Antonio Scandurra
created
4 years ago
c524cc4
Implement `select_to_beginning` and `select_to_end` for buffer
Antonio Scandurra
created
4 years ago
45452bb
Implement `move_to_beginning` and `move_to_end` for buffer
Antonio Scandurra
created
4 years ago
b7c30eb
Implemente `delete` for buffer
Antonio Scandurra
created
4 years ago
324a6ff
Implement `select_all` for buffer
Antonio Scandurra
created
4 years ago
88b88a8
Start work on opening files
Max Brunsfeld
created
4 years ago
3d6336b
Merge pull request #29 from zed-industries/traverse-symlinks
Click to expand commit body
Traverse symlinks when populating directories
Nathan Sobo
created
4 years ago
e423a49
Traverse symlinks when populating directories
Nathan Sobo
created
4 years ago
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
4 years ago
95fae8e
Always run all crates' tests in CI
Max Brunsfeld
created
4 years ago
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
4 years ago
9277529
Merge pull request #28 from zed-industries/close-tabs
Click to expand commit body
Add tab close buttons
Nathan Sobo
created
4 years ago
53013b3
Merge remote-tracking branch 'origin/master' into close-tabs
Nathan Sobo
created
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
1eba61c
Flush the fs event stream on construction
Max Brunsfeld
created
4 years ago
Nathan Sobo
created
4 years ago
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
4 years ago
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
4 years ago
58e3363
Align close tab icon cleanly with unsaved indicator
Nathan Sobo
created
4 years ago
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
4 years ago
eec8a3b
Simplify file finder update_matches logic
Max Brunsfeld
created
4 years ago
75b8f74
Avoid redundant `sort_unstable_by` call on merged fuzzy matches
Max Brunsfeld
created
4 years ago
Page 21 of 28