internal static bool UI() { BeginHorizontal(); Section(S.SymsetConfig, bottom: 0); FlexibleSpace(); if (Button(S.Btn_ApplyNotation)) { Howl.ReApply(); } EndHorizontal(); if (Config.ι.showTips) { Label(S.SymsetNote); } Label(S.NotWYSIWYG, miniLabel); Ruler(); scrollPos = BeginScrollView(scrollPos); // ImportConfig.Read(); bool dirty = false; foreach (var k in Map.@default) { ItemUI(k as Rep, ref dirty); } if (dirty) { ImportConfig.Write(); } // EndScrollView(); return(true); }
[Test] public void Write() { ImportConfig.Write(); }