zed/crates/editor
Thorsten Ball 2469122784
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
2024-12-18 09:53:34 +01:00
..
src Fix panic when calculating inline completion (#22180) 2024-12-18 09:53:34 +01:00
Cargo.toml Add telemetry::event! (#22146) 2024-12-17 11:39:18 -07:00
LICENSE-GPL