Files
pterodactyl-panel/resources/scripts/components/elements
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-12 14:22:47 -04:00
2026-10-12 17:59:50 -04:00
2026-10-12 20:14:47 -04:00
2026-10-12 15:19:54 -04:00
2026-10-12 17:59:50 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 14:22:47 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 14:22:47 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 19:29:07 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 05:26:08 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 17:59:50 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 14:22:47 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 17:59:43 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 14:22:47 -04:00
2026-10-13 02:37:22 -04:00
2026-10-12 20:14:47 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 08:14:53 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 19:29:07 -04:00
2026-10-12 19:29:07 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 14:22:47 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 17:59:50 -04:00
2026-10-12 17:59:50 -04:00
2026-10-12 14:22:47 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 19:29:07 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-12 15:19:54 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 14:22:47 -04:00
2026-10-12 20:14:47 -04:00
2026-10-12 21:44:55 -04:00
2026-10-12 21:44:55 -04:00
2026-10-12 19:29:07 -04:00
2026-10-05 18:10:18 -04:00