What is the easyest way of autocorrection?
I plan to offer users the option of an list that contains individual replacements. During writing special strings as ^x should be automatically replaced by a word or phrase.
Autocorrection
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
You can see the source code of function RVA_Addict3AutoCorrect in RichViewActions.pas.
It is assumed that this function is called from OnKeyDown (when Enter is pressed) and in OnKeyPress (when tab, space or other delimiter characters are pressed). If the current word has a correction, it replaces it.
It is assumed that this function is called from OnKeyDown (when Enter is pressed) and in OnKeyPress (when tab, space or other delimiter characters are pressed). If the current word has a correction, it replaces it.