Marking spelling errors in TRichViewEdit

General TRichView support forum. Please post your questions here
Post Reply
Primvs
Posts: 7
Joined: Tue Oct 25, 2005 1:46 pm

Marking spelling errors in TRichViewEdit

Post by Primvs »

Hey!

I added live word spelling to TRichViewEdit.
It validates words:
1. in dictionary
2. in a database from a list of "forbidden words"
It works great, now the only problem is, that our client would like spelling errors to be shown differently if they are not in dictionary/are forbidden word. I know that changing TRVStyle.LiveSpellingColor does the trick of changing color of missspelled-word underline, but it seems that changing this property for each misspelled word changes the color of all misspelled words in a paragraph?
Does anyone know the solution to this problem?

Thanks!

Primoz
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, in the current version only one color is possible, LiveSpellingColor changes the color of all underlines.
It's not too difficult to implement (but currently all development is frozen until I implement page breaks inside cells)
Post Reply