Handle no active editor available (#10503)

Cleaned up a stray `.unwrap()`

Release Notes:

- N/A
2a9ce3cec3Kyle Kelley committed on 4/15/2024, 11:53:08 PM· committed by GitHubparentf5c2483
1 file changedLine totals unavailable