Files
pterodactyl-panel/resources/scripts/components/elements/codemirror
BHASKAR MELKANI 67c36e6088 feat: Refactor CodemirrorEditor for improved syntax highlighting (#7298)
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.
2026-10-20 15:08:38 -04:00
..
2026-10-05 18:10:18 -04:00
2026-10-05 18:10:18 -04:00
2026-10-05 18:10:18 -04:00