Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic when calculating inline completion (#22180)
Possible panic here in case we can't find the excerpt in the multibuffer. I thought this could happen when the inline completion references an excerpt that disappeared from the multibuffer, but looking at the code I'm not sure anymore - we use the same multibuffer snapshot in this whole function and the `anchor_in_excerpt` method clips the anchors. Still, let's be safe here. Release Notes: - N/A
- Loading branch information