mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
This PR improves YAML syntax highlighting, selection rendering, and search decorations across nested structures, multiline content, and differently styled tokens. Issues and fixes: - YAML tokens in nested structures were not always classified correctly, causing inconsistent syntax highlighting. The token classification logic was refined to handle nested structures more reliably. - Selection highlighting could render incorrectly across multiline content and differently styled tokens. Selection rendering was updated to preserve consistent highlighting in these cases. - Search decorations could become misaligned with highlighted text. Search marker alignment was corrected so decorations match the corresponding content. - Scrollbar markers did not always accurately reflect search results. Scrollbar marker handling was improved to keep markers synchronized with search decorations. - Decoration layers could overlap or render in the wrong order. Decoration layering was adjusted to ensure selection and search decorations are displayed correctly.