I think everybofy here will like this post :) Andrea
-------- Original Message -------- Subject: [Bug 56301] Editor needs spell checking Date: Mon, 26 Nov 2001 20:51:51 -0800 (PST) http://bugzilla.mozilla.org/show_bug.cgi?id=56301 ------- Additional Comments From [EMAIL PROTECTED] 2001-11-26 20:51 ------- OK. I have managed to get a slightly mangled version of Kevin Hendricks' MySpell mostly working in Mozilla. Myspell is a simple straightforward spell checker loosely based on ispell, and used by OpenOffice. There is still a bunch of work that I need to get done before it is anywhere near presentable. I do have a bunch of questions. Where should the dictionaries, both system and presonal go? How do multiple dictionaries work? I can't get more than en-US into the combo box. I can't see why. Yo no hablo javascript. Right now the dictionary gets loaded each time you activate spell checking. Is there some way to make it load the hash table once and use it as necessary? Are there threading issues I should worry about? I don't believe so, but... Is there a way to get from an nsIFile to an nsInputFileStream without extracting the filename and making an nsFileSpec? Is there any new documentation on the new string classes? The spell checker is still doing a fair amount of work on char*. Convince me that using nsAFlatCString is worth the additional typing. It appears that there is no way to access the unicode equivalents of isalpha, isupper, islower, or even nonAscii versions of these. These are used, at least in english for lookup, wordbreaking, and suggesting. From what little I know of other european languages, they would be useful there as well. I can allow for non european character sets, but I want to have some idea as to what sort of word-breaking, suggestion making and whatever you call lowercasing capitalized words algorithms are needed. Or is this all something that is taken care of by some localization library? -- "Freedom was mine! But but all Andrea Monni <[EMAIL PROTECTED]> of a sudden there seemed Y! IM: andreamonni precious little difference ICQ: 7387142 between being set free -- and being cast out." Moonshadow, J. M. De Matteis
