Reduce spamming of inline completion discard events (#11999)

I'm not a huge fan of passing around a boolean all around the place, but
this will tame the events for now until we have a better solution.

Release Notes:

- N/A
e5a4421559Joseph T. Lyons committed on 5/17/2024, 8:37:17 PM· committed by GitHubparent99c6389
5 files changedLine totals unavailable