Merge pull request 'B2026-022-Adding-RO-Editor-symbols-to-RO-Tables' (#738) from B2026-022-Adding-RO-Editor-symbols-to-RO-Tables into Development
good for testing
This commit was merged in pull request #738.
This commit is contained in:
@@ -2659,6 +2659,7 @@ namespace RODBInterface
|
||||
}
|
||||
StatMsgWindow.StatusMessage = echild.GetAttribute("MenuTitle");
|
||||
StringBuilder tinfo2Tmp = new StringBuilder(); // B2026-025 prep the info field data so it will be saved correctly.
|
||||
str = "UPDATE " + echild.GetAttribute("Table") + " SET Info = '" + tinfo2 + "'";
|
||||
char[] chrAry = tinfo2.ToCharArray();
|
||||
foreach (int chr in chrAry)
|
||||
{
|
||||
|
||||
@@ -2473,6 +2473,17 @@ namespace Volian.Controls.Library
|
||||
private string ConvertTableText(string str)
|
||||
{
|
||||
string rtn = str;
|
||||
string pattern = @"\\u([0-9]{1,4})\?";
|
||||
|
||||
string mValue, mValue2 = "";
|
||||
foreach (Match match in Regex.Matches(rtn, pattern, RegexOptions.IgnoreCase))
|
||||
{
|
||||
mValue = match.Value;
|
||||
mValue2 = $"\\f1 {mValue}\\f0";
|
||||
rtn = rtn.Replace(match.Value, mValue2);
|
||||
}
|
||||
|
||||
|
||||
//ShowRawString(str, "ConvertTableText IN");
|
||||
rtn = rtn.Replace(@"START]\v0", @"START]\cf1\v0");
|
||||
rtn = rtn.Replace(@"\v #Link:", @"\cf0\v #Link:");
|
||||
|
||||
Reference in New Issue
Block a user