private static void Output(StringBuilder sb, string outputPath) { // Debug.Log(sb.ToString()); if (!File.Exists(outputPath)) { Directory.Delete(outputPath); } EditUtils.SaveUTF8TextFile(outputPath, sb.ToString()); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void textBoxSplitCharacter_TextChanged(object sender, TextChangedEventArgs e) { if (EditUtils.CheckText(textBoxSplitCharacter.Text, 1, EditUtils.ECheckType.SplitCharacter) != string.Empty) { textBoxSplitCharacter.Text = DefaultSplitCharacter; } UpdateSortOrder(); UpdateSortType(); }