Compare commits

..

2 Commits

2 changed files with 3 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ namespace ctlXMLEditLib
public void InsertSymbol( int symbcode) public void InsertSymbol( int symbcode)
{ {
int position = this.SelectionStart; 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 + @"}"; this.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
Select(position, -1); Select(position, -1);
Select(position + 1, 0); Select(position + 1, 0);

View File

@@ -4162,10 +4162,7 @@ namespace Volian.Controls.Library
} }
void MyConfig_PropertyChanged(object sender, PropertyChangedEventArgs e) void MyConfig_PropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
//B2026-024 Change bars should not show when updating Applicability.
if (e.PropertyName == "MasterSlave_Applicability") ChangeBarForConfigItemChange = false;
SaveConfig(); SaveConfig();
if (e.PropertyName == "MasterSlave_Applicability") ChangeBarForConfigItemChange = true;
} }
public void SaveConfig() public void SaveConfig()
{ {