B2023-031 Added better check for invalid symbol characters in tables, to account for link information that is not visible.
This commit is contained in:
parent
8ee523de20
commit
74542224ef
@ -992,8 +992,10 @@ public string Path
|
||||
{
|
||||
rtb.Select(i, 1);
|
||||
// If the character is a printable character set the font to the text font
|
||||
// B2019-067 also check for a proportional symbol font for example, FreeSerif
|
||||
if (rtb.SelectionLength == 0 && strRTF != null && (rtb.SelectionFont.FontFamily.Name == "VESymbFix" || rtb.SelectionFont.FontFamily.Name == Volian.Base.Library.vlnFont.ProportionalSymbolFont))
|
||||
// B2019-067 Also check for a proportional symbol font for example, FreeSerif
|
||||
// B2023-031 Added check of a "Text" SelectionType.
|
||||
// The SelectionType was "Empty" for the non-viewable link information and thus flagged it as an error
|
||||
if (rtb.SelectionLength == 0 && rtb.SelectionType == System.Windows.Forms.RichTextBoxSelectionTypes.Text && strRTF != null && (rtb.SelectionFont.FontFamily.Name == "VESymbFix" || rtb.SelectionFont.FontFamily.Name == Volian.Base.Library.vlnFont.ProportionalSymbolFont))
|
||||
{
|
||||
// Add debug information to the error log if the selection length is zero
|
||||
// Changed debug information to make it more useful
|
||||
|
Loading…
x
Reference in New Issue
Block a user