B2022-052: Division symbol converted to an X in table (also occurs in step text) - continued

This commit is contained in:
2022-05-26 12:58:05 +00:00
parent e0acae62c9
commit 61febac1a0
2 changed files with 10 additions and 3 deletions

View File

@@ -2065,6 +2065,13 @@ namespace Volian.Controls.Library
break;
}
}
// B2022-052: Since any kind of font can occur during paste, if from an external program, a message will
// be given stating that a symbol may be incorrect because an unsupported font was pasted. It was felt
// that this was sufficient based on estimate of fix versus chance of occurrence. Note that the message
// was moved here from rtftools since the rtftools code is called by non-UI code (5/26/22)
if (e.KeyCode==Keys.V && Rtf.ToUpper().Contains("GREEK") || Rtf.ToUpper().Contains("BALTIC"))
System.Windows.Forms.MessageBox.Show("Pasted text may use an unsupported font so some characters may not paste correctly and may require delete/reenter of character from within Proms.",
"Paste Font Issue", System.Windows.Forms.MessageBoxButtons.OK);
}
if (MyItemInfo == null || MyItemInfo.IsRtfRaw) // B2017-023 null reference check for empty workdraft set information dialog
{