Revert "file_finder: Remove common segments of long paths in search results (#25049)" (#25163)

This reverts commit 9ef0501853 due to a
panic.

```
{
  "thread": "main",
  "payload": "9 is not a valid char boundary in path \"crates/…/LiveKitBridge/\"",
  "location_data": {
    "file": "crates/file_finder/src/file_finder.rs",
    "line": 646
  }
}
```

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-02-19 15:32:29 +00:00
committed by GitHub
parent f8770fee10
commit c0c48d30db
49 changed files with 157 additions and 207 deletions
+2
View File
@@ -224,6 +224,7 @@ impl ScrollManager {
self.anchor.scroll_position(snapshot)
}
#[allow(clippy::too_many_arguments)]
fn set_scroll_position(
&mut self,
scroll_position: gpui::Point<f32>,
@@ -298,6 +299,7 @@ impl ScrollManager {
);
}
#[allow(clippy::too_many_arguments)]
fn set_anchor(
&mut self,
anchor: ScrollAnchor,