ep cli: Handle opening buffers from files created by the edit history (#46254)

Since we don't persist new files to disk, they don't have entries, so we
have to look them up in memory first.

Release Notes:

- N/A
134c5e6bf9Agus Zubiaga committed on 1/7/2026, 1:52:42 PM· committed by GitHubparent1362582
2 files changedLine totals unavailable