Highlight JSON, TSCN and scenario fields across editor tools

This commit is contained in:
cthangover committed 2026-10-26 19:44:26 +03:00
1 parent 84894b1e98
commit cbc9472738
7 files changed
+70 -29

No files matched your search

@@ -25,6 +25,8 @@ namespace Cthangover.Tools.Tests.Windows
/// <summary>Runs the checks for <paramref name="toolId"/>; <paramref name="check"/> records each result.</summary>
public static void Run(string toolId, Window window, Action<bool, string> check)
{
foreach (var editor in window.FindChildren("*", "", true, false).OfType<CodeEdit>())
check(editor.SyntaxHighlighter != null, toolId + ": source field has syntax highlighting");
switch (toolId)
{
case "map_editor":