Hey,
i recently started using the Extended WPF Toolkit and noticed when i use the RichTextBox with the RtfFormatter, mscorlib.dll throws a "System.FormatException" on every keystroke. When using the PlainTextFormatter or the XamlFormatter this will not happen. I couldnt track down the reason why this is happening, but it is easy to reproduce (just create a RichTextBox with a RtfFormatter). I don't know if its a bad thing for my application performance when so many exceptions are thrown but it seems wrong. Can someone explain me why this is happening or how to fix it? I would like to save the content of the RichTextBox as an rtf formated string without getting exceptions on every keystroke.
i recently started using the Extended WPF Toolkit and noticed when i use the RichTextBox with the RtfFormatter, mscorlib.dll throws a "System.FormatException" on every keystroke. When using the PlainTextFormatter or the XamlFormatter this will not happen. I couldnt track down the reason why this is happening, but it is easy to reproduce (just create a RichTextBox with a RtfFormatter). I don't know if its a bad thing for my application performance when so many exceptions are thrown but it seems wrong. Can someone explain me why this is happening or how to fix it? I would like to save the content of the RichTextBox as an rtf formated string without getting exceptions on every keystroke.