mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-21 16:10:19 +01:00
c22eaa7a26
Closes #49653 Before you mark this PR as ready for review, make sure that you have: - [x] screen record added - [x] Done a self-review taking into account security and performance aspects - [x] No UI change The original `refresh_matching_bracket_highlights` method always performed a clear --> highlight procedure, even when the bracket positions hadn't changed, causing the highlights to flicker. Normally, for single quotes or brackets, the flickering area is small and hard to notice (though visible if you pay close attention), but for Python docstrings, the three quotes create a larger highlighted area, making this issue much more apparent. After fix: https://github.com/user-attachments/assets/bcd9b464-0def-438d-86b3-7e6b3779b5c6 Release Notes: - Fixed bracket highlights flickering when editing inside brackets