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

This reverts commit 8e31d95140 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 authored and GitHub committed 2025-02-19 15:32:29 +00:00
1 parent 556b434d7a
commit c7d12822df
49 files changed
+157 -207

No files matched your search

+1
View File
@@ -719,6 +719,7 @@ impl BufferDiff {
Some(start..end)
}
#[allow(clippy::too_many_arguments)]
pub async fn update_diff(
this: Entity<BufferDiff>,
buffer: text::BufferSnapshot,