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
This also removes the `changed_selections` and moves the autoscroll
request inside of `update_selections`. This is nicer because it'll force
us to determine whether we want to autoscroll every time we update the
selections, so that we don't forget this in the future.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
111d98d
Keep ignore status up-to-date as events are processed
Antonio Scandurra
created
f770a70
WIP: Maintain an IgnoreStack while scanning
Click to expand commit body
All ignore files associated with ancestors of the directory currently being scanned are included in the stack. This allows us to compute ignore status for each entry as we initially scan it. If we encounter an ignored directory, we replace the stack with an "ignore all" variant that simply ignores every descendant of the ignored directory.
This is incomplete. We still need to construct an ignore stack in an appropriate state when rescanning subtrees in response to events. It also doesn't deal with individual ignore files being added, removed, or changed. I think we could potentially use the ignore stack while reconstructing the tree for this purpose.
Nathan Sobo
created
9cd1d5e
Avoid cloning entry in `Snapshot::entry_for_path`
Antonio Scandurra
created
6a7308b
Avoid storing redundant copies of file paths
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
054203d
Fix fuzzy matching after removing root dirname from stored paths