Hi,
i need to spellcheck word over more than one item. For example, if the word is partially bolded, TCustomRichView.OnSpellingCheck event returns this word divided to parts. So correct words becomes partially red underlined. The same problem is in addict3speller for TRichViewEdit which is trying to correct parts of words which are divided by itemNo...
Any suggestions how to solve this issue?
Thanks a lot!
spellchecking words over more items
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I know it, i've tried to find out how to do it. I think i can do it for addict dictionaries with little help. But in richview i'm not sure. There's some thread which is browsing the richview and calling the event for spellchecking. Do you have any tips - which places should i have focus on? Any important clasess which i have to use for it? What about little adjusting the ad3RichView.pas and TRichViewParser3 and TRVSerializer in RVSer.pas - addict is using it...Sergey Tkachenko wrote:It's not easy to solve. Planned for quite distant future.
thanks!
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Yes, for a traditional spell checking (with dialog), ad3RichView.pas should be modified (TRVSerializer does work similar to functions from RVLinear.pas, less convenient but more efficient; I believe it's not necessary to modify it).
Live spelling is implemented in RVThread.pas. Its implementation is independent from the implementation of traditional spell checking.
Live spelling is implemented in RVThread.pas. Its implementation is independent from the implementation of traditional spell checking.