Commit log
a042866
Fix `folds_in_range` and add a test for it
Click to expand commit body
With the current ordering, a linear scan is required in order to
determine which folds intersect the given range.
Antonio Scandurra
created
4 years ago
5c392f9
Merge branch 'master' into buffer-per-inode
Nathan Sobo
created
4 years ago
8820df7
Rename WorkspaceView to Workspace and reorganize module
Nathan Sobo
created
4 years ago
366f8fc
Inline methods previously moved from Workspace
Nathan Sobo
created
4 years ago
ed28bd3
Combine Workspace and WorkspaceView
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
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
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
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
4 years ago
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
4 years ago
189ee7c
Add failing unit test for adjacent folds
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
4c46575
Account for folds when moving selections up/down
Antonio Scandurra
created
4 years ago
49dc040
Use a more direct manipulation for moving lines up or down
Antonio Scandurra
created
4 years ago
76b454d
Push selections down correctly when moving a line down
Antonio Scandurra
created
4 years ago
8cd451f
Implement `move_line_up` and `move_line_down`
Click to expand commit body
This does not restore folds yet.
Antonio Scandurra
created
4 years ago
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
Page 22 of 30