editor: Use `highlight_text` to highlight matching brackets, fix unnecessary inlay hint highlighting (#36540)
Closes #35981
Release Notes:
- Fixed bracket highlights overly including parts of inlays when
highlighting
Before -
<img width="1480" height="602" alt="Screenshot from 2025-08-19 17-15-06"
src="https://github.com/user-attachments/assets/8e6b5ed8-f133-4867-8352-ed93441fbd8b"
/>
After -
<img width="1480" height="602" alt="Screenshot from 2025-08-19 17-24-26"
src="https://github.com/user-attachments/assets/1314e54e-ecf9-4280-9d53-eed6e96e393f"
/>
68f97d6069Sachith Shetty committed on 8/21/2025, 6:27:41 AM· committed by GitHubparent5dcb908