B2026-022-Adding-RO-Editor-symbols-to-RO-Tables

This commit is contained in:
2026-03-17 15:30:35 -04:00
parent fd59b9d5f0
commit 4b479b3ceb
2 changed files with 16 additions and 9 deletions

View File

@@ -2479,10 +2479,8 @@ namespace Volian.Controls.Library
foreach (Match match in Regex.Matches(rtn, pattern, RegexOptions.IgnoreCase))
{
mValue = match.Value;
mValue2 = @"\f1 " + mValue + @"\f0";
rtn = rtn.Replace(match.Value, mValue2);
// @"\f1\u9474 ?\f0")
// linkValue = linkValue.Replace(match.Value, "\\f1 " + match.Value + "\\f0");
mValue2 = $"\\f1 {mValue}\\f0";
rtn = rtn.Replace(match.Value, mValue2);
}
@@ -3840,9 +3838,6 @@ namespace Volian.Controls.Library
this.MergedRanges.Clear();
this.Clear();
this.IsRoTable = true;
//valtext = valtext.Replace(@"\u8209?", "-");
//valtext = Regex.Replace(valtext, @"\\u([0-9]{1,4})\?", m => int.TryParse(m?.Groups[1]?.Value, out int result) ? Convert.ToChar(result).ToString() : "");
//valtext = valtext.Replace("-", @"\u8209?");
this.ParseTableFromText(valtext, GridLinePattern.Single);
this.AutoSizeCols();
this.AutoSizeRows();