In a message dated 8/5/2004 8:23:24 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
On Thu, 5 Aug 2004 [EMAIL PROTECTED] wrote: I have done a patch to aspell-0.60-pre2 to implement the ignore-case
option. It appears to be working fine for me against the standard English
dictionary.
Would it be possible for you to incorporate my patch into a pre3 or maybe
the final 0.60? I am new to aspell, so let me know if I have missed some subtle
interaction. The changes are very small, the following are the diffs:
modules/speller/default/speller_impl.cpp
======================================== 459a460 > s_cmp.case_insensitive = config_->retrieve_bool("ignore-case"); modules/speller/default/language.cpp ==================================== 398a399,410 > if (!case_insensitive) > goto try_normal; > word = word0; > inlist = inlist0; > while (*word && *inlist && lang->to_upper(*word) == lang->to_upper(*inlist)) ++word, ++inlist; > if (*inlist) goto fail; > if (end && lang->special(*word).end) ++word; > if (*word) goto fail; > return true; > try_normal: > word = word0; > inlist = inlist0; ----------------------
Saad Mufti
America Online
|
_______________________________________________ Aspell-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/aspell-devel