This will support interacting with the opened item. Although I think I should probably return the ItemView rather than the Item. Next commit.
Nathan Sobo
created
ca0d7e5
Add journal crate and move supporting logic into workspace crate
Click to expand commit body
I needed to interact with the workspace to open a file from the journal crate, so I moved a bunch of logic out of main related to opening new workspaces and paths.
Nathan Sobo
created
cd65031
Halt keystroke dispatch immediately when we call a global action handler
Click to expand commit body
Someday, we may want to define a global action context that allows us to propagate the action, but this isn't currently supported. Previous to this commit, we were invoking the same global action handler multiple times, once for each view in the responder chain.
Nathan Sobo
created
c41b958
WIP - start restructuring collaboration around entire projects
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
88d663a
Allow saving of all buffers contained in project diagnostics editor
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
f0fe346
Gracefully degrade `diagnostics_in_range`, `diagnostic_group` and `file`
64e2f6d
Ensure `BlockMap::clip_point` always yield a valid buffer location
Antonio Scandurra
created
ec39c9d
Allow specifying `MAX_EXCERPTS` via an env variable in random tests
Antonio Scandurra
created
3e2f684
Fix prev_row_boundary when a wrap follows a fold
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4c22774
Always clip buffer points when clipping display points
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
f898dc6
Guard against inverted ranges when building edits in unfold
Click to expand commit body
The multibuffer lets you refer to offsets inside of headers,
so it's possible to create a fold that appears non-empty,
but which spans zero characters in the underlying buffers.
Fold ranges are biased inward: the start is biased right, and
the end is biased left.
Because of these two things, it's possible to create a fold
that becomes "inverted" when you insert text at that position.
Max Brunsfeld
created
e8570b5
Allow multibuffer to clip to the ends of excerpts, before trailing newlines
Max Brunsfeld
created
f8ef605
Update all MultiBuffer unit tests, removing expected trailing newline