Spell check only "new text"

4 posts, 0 answers
  1. Evan
    Evan avatar
    8 posts
    Member since:
    Jul 2012

    Posted 14 Jan 2013 Link to this post

    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
  2. Boby
    Admin
    Boby avatar
    595 posts

    Posted 16 Jan 2013 Link to this post

    Hi Evan,
    Unfortunately excluding specific parts of the document from spell checking isn't possible with the current implementation. This feature is in our to-do list, but isn't scheduled for implementation yet.

    Don't hesitate to contact us if you have other questions.


    Regards,
    Boby
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Evan
    Evan avatar
    8 posts
    Member since:
    Jul 2012

    Posted 16 Jan 2013 Link to this post

    Ok, thanks for the info.  Is ignoring a single instance of a misspelled word possible?
  5. Boby
    Admin
    Boby avatar
    595 posts

    Posted 17 Jan 2013 Link to this post

    Hi Evan,
    Sorry for not being clear enough, but unfortunately ignoring any parts of the document - spans, words, or bigger chunks are not possible for now.

    Regards,
    Boby
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top