Compile and run the application
Type some text and click “Mark All” button. You could see that the entire text has a red-wave underline
Click “Unmark All” and the format disappears.
The above steps will clearly explain the way to add the red-wave formatting lines. This can be developed further to have it in the spell checking functionality. A tip to include this is, to capture the KeyPress event in the MyTextControl class and look for punctuation and other keys, get the last word typed (by going back and identifying the previous punctuation mark) and then passing the word to the spell checker. Care should be taken so that we do not miss cut, copy and paste functionality !
The formatting need not be used for spell-checking alone and it can be used for other our own application’s custom requirement.
Software requirements: Visual Studio 2008
Language : c#
Other : TxTextControl version 13.0 (.net edition)
Note: Need to add copyright and trademark notices of TxTextControl component.