Issue 13979

Summary: another SuggestMgr function should try caps problems
Product: General Reporter: tristanb <tristan_burtenshaw>
Component: spell checkingAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P2 CC: hippytrail, issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description tristanb 2003-05-01 01:43:09 UTC
hi,
with the spell checker, i have a word: "RSVP" in the dictionary. If I 
type "rsvp", it will not suggest the fully capitalised word.

There needs to be a new function that will test whether the word is correct in 
CAPS, lower or Title.
Other capitalisation mistakes (e.g hEllo) should be picked up by 
SuggestMgr::badchar

I tried to make:
int SuggestMgr::wrongcaps(char ** wlst, const char * word, int ns)
but my I don't trust my programming without testing it :) (i don't have a C++ 
compiler).

Okay, i hope that was understandable,
Thanks!
Comment 1 khendricks 2003-05-01 15:02:11 UTC
Hi,

Agreed, I will look into adding something like this in time for 1.1 final.

Thanks,

Kevin

Comment 2 khendricks 2003-05-25 14:34:50 UTC
Hi, 
 
Changing this to started. 
 
Kevin 
 
Comment 3 khendricks 2003-05-28 16:41:18 UTC
Hi,

I think the best way to handle this is to rewrite MySpell almost
compeltely to only hash all lowercase values and keep separate
flags indicating the various capitalization's allowed.

So this will not happen by 1.1 but should come in 1.2 or later.

Thanks

Kevin