Fix handling of selection ranges for format selections in multibuffer (#22929)

Before this change it was using the same multibuffer point ranges in
every buffer, which only worked correctly for singleton buffers.

Release Notes:

- Fixed handling of selection ranges when formatting selections within a
multibuffer.

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
685dd77d97Michael Sloan committed on 1/10/2025, 12:17:04 AM· committed by GitHubparent29aa291
7 files changedLine totals unavailable