I'm getting an error message saying "Invalid caret position. Please contact the developer, if you can reproduce this problem" happening whenever I try to "Change" a misspelling found by the spell checker.
If I then OK that message and click "Change" again on the Spelling dialog I get a "List Index Out of Bounds (100000)" message.
I'm using TRichView 11.0.2 and Addict Version 3.4.4
I'm pretty sure the spell checker was working fine before I updated my project to TRichView 11 from TRichView 10.
Dick
Invalid Caret Position Error When Using Addict 3 Spell Check
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
I've traced the code through
procedure TRichViewParser3.ReplaceWord( Replacement:String; State:LongInt );
and it appears to be proceeding correctly until it gets to
FEdit.SetCurrentItemText(s);
at which point the error occurs. The operation is attempting to replace the intentional misspelling "Vermonterol" (which is highlighted in the RVE) with the correction "Vermont". At the point the error occurs, the string s contains
'V'#0'e'#0'r'#0'm'#0'o'#0'n'#0't'#0
Please let me know what I can do to troubleshoot this problem further.
Dick
procedure TRichViewParser3.ReplaceWord( Replacement:String; State:LongInt );
and it appears to be proceeding correctly until it gets to
FEdit.SetCurrentItemText(s);
at which point the error occurs. The operation is attempting to replace the intentional misspelling "Vermonterol" (which is highlighted in the RVE) with the correction "Vermont". At the point the error occurs, the string s contains
'V'#0'e'#0'r'#0'm'#0'o'#0'n'#0't'#0
Please let me know what I can do to troubleshoot this problem further.
Dick
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Is this problem solved like for Addict4 ( http://www.trichview.com/forums/viewtopic.php?t=3035 ) after using the last version of the parser?
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact: