> Glad you like the tests.
>
> In my version of RBSpellChecker>>normalize, I also commented out the line:
>        "or: [ input peek = $' ]" "this causes false positives eg 'OK' in class
> comments"

That change breaks word like

   don't
   Smalltalk's
   etc.

 I see that there are a few other cases where you don't want any $'.
So I removed it for now.

> OK returns an error on k, RB b etc.
>
> So that's what causes the two cases on a Linux box (fairly sure). I'm
> guessing you have letters k i b and t in the Mac dictionary, or it
> specifically doesn't check one letter words?

RBSpellChecker>>#normalize: removes one letter words, so I don't think
this can be the error. If you show the individual words that are
checked against the dictionary on the transcript, you will see that
they all look pretty ok.

> BTW, it looks like RBPoolVariableNameSpellingRule should be
> RBPoolDictionaryNameSpellingRule, as that's what it looks at?

Ok, I renamed that. Probably this rule isn't really needed anyway ...

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to