editor: Remove redundant allocation when merging highlight ranges (#57034)

Reduce one Vec clone + collect allocation per frame

Release Notes:

- N/A or Added/Fixed/Improved ...

---------

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
bfe914beecXiaobo Liu committed on 5/18/2026, 7:45:02 AM· committed by GitHubparentf2df3f9
1 file changedLine totals unavailable