Hello,
I am using the WPF RadRichTextBox as an email editor to reply to inbound emails. Like in most email applications, the body of the inbound email is included as quoted text within the email editor.
I would somehow like to prevent the quoted text from being checked for spelling, both by the inline red squiggly lines and by the spell checking dialog. I am already providing my own implementations of the ISpellChecker and ISpellCheckingDialog interfaces.
One possible solution I considered would be to load the quoted text, and then silently run the spell checker and "Ignore All" for each misspelling prior to allowing the user to edit the reply. The down side to this approach is that if the original email contains any misspellings, those words would be added to the black list of Ignored words, and they would not be identified as misspelled if the user types them in the reply.
Is there a better solution for this issue? For example, is there a way to mark a DocumentElement to suppress the spelling inspection of any text it contains? Or is there a way to ignore a specific instance of a word instead of Ignore All?
Any help is greatly appreciated.
Thanks,
Evan
I am using the WPF RadRichTextBox as an email editor to reply to inbound emails. Like in most email applications, the body of the inbound email is included as quoted text within the email editor.
I would somehow like to prevent the quoted text from being checked for spelling, both by the inline red squiggly lines and by the spell checking dialog. I am already providing my own implementations of the ISpellChecker and ISpellCheckingDialog interfaces.
One possible solution I considered would be to load the quoted text, and then silently run the spell checker and "Ignore All" for each misspelling prior to allowing the user to edit the reply. The down side to this approach is that if the original email contains any misspellings, those words would be added to the black list of Ignored words, and they would not be identified as misspelled if the user types them in the reply.
Is there a better solution for this issue? For example, is there a way to mark a DocumentElement to suppress the spelling inspection of any text it contains? Or is there a way to ignore a specific instance of a word instead of Ignore All?
Any help is greatly appreciated.
Thanks,
Evan