B2026-019 Attempt to prevent an Access Error by utilizing a different Refresh if a Procedure is Open #727

Merged
jjenko merged 2 commits from B2026-019 into Development 2026-03-02 14:18:16 -05:00
2 changed files with 1 additions and 1 deletions
Showing only changes of commit f66c6a93c5 - Show all commits

View File

@@ -32,7 +32,7 @@ namespace ctlXMLEditLib
public void InsertSymbol( int symbcode)
{
int position = this.SelectionStart;
string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\u{0}", symbcode);
string sym = symbcode < 256 ? ((char)symbcode).ToString() : string.Format(@"\u{0}", symbcode);
this.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
Select(position, -1);
Select(position + 1, 0);