tags:

views:

73

answers:

2

Does anyone know of a C# spell check library that would underline misspelled works in a windows form text box? In the past, I've used NetSpell and works great if users use the dialog box.

I'm thinking I might be able to automatically call the spell check while text is being updated and underline the text. Anyone have any good ideas on what would be the best way to go about doing it?

+1  A: 

We are using Infragistics' components.
They offer WinSpellChecker which seems doing the job you are looking for

There is also NHunspell - free open source spell checker what might be used to easily develop control you are talking about

Maciej
`"Spell Checker, Hypenation and Thesaurus: NHunspell"` NHunspell must not work very well, unless 'hypenation' crept into their dictionary somehow.
Jim Schubert
That is the price you are paying for freeware software :) BTW I've made quick look at it and tested spelling and seems works wellBut as I said - for our soft we are using commercial Infragistics components
Maciej
I'm really impressed with the WinSpellCheker library. I'm surprised they are able to underline text in a text box. I'm wondering if they are just drawing on the control based on the location of the text. Does anyone know how to get the x, y location of text within a text box?
Icono123
A: 

DevExpress XtraSpellChecker should do the trick.

kervin