Compare commits
1 Commits
C2022-003-
...
B2026-024
| Author | SHA1 | Date | |
|---|---|---|---|
| d95505726f |
@@ -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 = symbcode < 256 ? ((char)symbcode).ToString() : string.Format(@"\u{0}", symbcode);
|
string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\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);
|
||||||
|
|||||||
@@ -4162,8 +4162,11 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
void MyConfig_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
void MyConfig_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||||
{
|
{
|
||||||
SaveConfig();
|
//B2026-024 Change bars should not show when updating Applicability.
|
||||||
}
|
if (e.PropertyName == "MasterSlave_Applicability") ChangeBarForConfigItemChange = false;
|
||||||
|
SaveConfig();
|
||||||
|
if (e.PropertyName == "MasterSlave_Applicability") ChangeBarForConfigItemChange = true;
|
||||||
|
}
|
||||||
public void SaveConfig()
|
public void SaveConfig()
|
||||||
{
|
{
|
||||||
if (!MyItemInfo.MyConfig.IsDirty) return;
|
if (!MyItemInfo.MyConfig.IsDirty) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user