Fix diff base text not being syntax-highlighted (#46001)

Regressed in #44838

- Wait to emit `LanguageChanged` from `BufferDiff` until the base text
has finished (re)parsing
- Set the language registry on the base text buffer before setting the
language, to ensure that language inclusions are correctly parsed

Release Notes:

- N/A (nightly only)
21eb233a38Cole Miller committed on 1/3/2026, 11:38:10 PM· committed by GitHubparent43f7dc4
1 file changedLine totals unavailable