trichview.support
Re: Spell checking? |
Author |
Message |
Sergey Tkachenko |
Posted: 04/24/2004 23:50:47 > - when it does the spelling check, it appears to have/use no dictionary. I > have ConfigDictionaryDir as %AppDir% and ConfigDefaultMain as Aussie.adm, > and there is a copy of Aussie.adm in the directory the app is running in. > But it doesn't appear to recognise simple, common words like 'red', 'food', > and so on. I think Addictive Software support will help you better than me in this question. I tested with American.adm, it works for me. > > - it doesn't seem to put the spelling and thesaurus in the auto-generated > richview popup. How should I get these actions to appear in there? You can use TRVAPopupMenu.OnPopup event to add new items in popup menu (this menu rebuilds itself every time when it's displayed, so you do not need to delete its items). RVGetText.pas has function GetCurrentWord returning the current word. Then you can use RichViewEdit.SelectCurrentWord and InsertText to replace it. I think I'll implement this as a standard function of TRVAPopupMenu when I'll implement live spelling check. |
Powered by ABC Amber Outlook Express Converter