.NET text editor that accepts HTML and input/output with spellchecking

后端 未结 8 1984
臣服心动
臣服心动 2021-02-02 04:01

I have been searching for something that does this for a while now, but with no luck yet... We have an internal application that stores/uses text in HTML format. Now I am looki

8条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 04:33

    Since I was too much of a cheapskate to buy a spell checking control for our internal app (that would have been total overkill), I cobbled together an IExtenderProvider that does wavy red line spellchecking on textboxes. I've been sitting on the code for a while but I just blogged about it; there's a sample application there.

    Some caveats:

    • It will think that HTML is misspelled, but you might be able to modify it to make it work for you.
    • Heck, it even thinks numerals are spelled wrong. An easy fix, but I've been too lazy to fix it.
    • If the dictionary should go missing, it has a total freak out.

    But, hopefully it'll give you some ideas, even if you're not able to use it directly.

    Another thing you might consider is that I know some of the WPF text controls have spell checking built in. But I'm not sure how they handle HTML.

提交回复
热议问题