using System; using System.Collections.Generic; using System.Linq; using PlasticGui; using Unity.CodeEditor; using Unity.CodeEditor.Document; using Unity.PlasticSCM.Editor.UI; using Unity.PlasticSCM.Editor.UI.UIElements; using UnityEditor; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.UIElements; using TextEditor = Unity.CodeEditor.TextEditor; namespace Unity.PlasticSCM.Editor.Diff.Text { internal class ChangeFontDialog : EditorWindow { internal const string DEFAULT_FONT = "Default"; internal const string NAME_FONT_FIELD = "change-font-field"; internal const string NAME_RESTORE_DEFAULT_BUTTON = "change-font-restore-default-button"; internal const string NAME_OK_BUTTON = "change-font-ok-button"; internal const string NAME_CANCEL_BUTTON = "change-font-cancel-button"; internal DropdownField GetFontField() => rootVisualElement.Q(NAME_FONT_FIELD); internal Button GetRestoreDefaultButton() => rootVisualElement.Q