After some further digging it appears that PyEnchant has poor support on Windows, offering only a 32bit binary. Enchant itself has not seen active development since early 2010. Even if one wanted to build from source (not commonly done by windows users) the supplied additional libraries are win32 only.
Since 64bit Python is being pushed by default in many cases (Anaconda, for example) this puts Leo's spell feature out of reach for many Windows users. Anyway, I have no real interest in this since I use Leo for programming. Just thought I'd share my findings. On Friday, April 15, 2016 at 11:33:41 AM UTC-4, john lunzer wrote: > > I did not realize that pyenchant was based on a C library > > On Friday, April 15, 2016 at 11:32:00 AM UTC-4, john lunzer wrote: >> >> Good call, I get this: >> >> exception executing script >> >> ImportError: cannot import name utils >> >> only 4 lines >> >> -------------------- >> >> line 53: from ctypes.util import find_library >> >> * line 54: >> >> line 55: from enchant import utils >> >> line 56: from enchant.errors import * >> >> On Friday, April 15, 2016 at 11:15:04 AM UTC-4, Terry Brown wrote: >>> >>> On Fri, 15 Apr 2016 06:25:34 -0700 (PDT) >>> john lunzer <[email protected]> wrote: >>> >>> > My spell tab hasn't worked in the entire time I've used Leo. Only >>> > recently, a week or so, I've been able to see part of it before my >>> > outlines are fully loaded but when all files are finally loaded it >>> > disappears. >>> > >>> > I had assumed that the "spell tab" had been a remnant of an older >>> > age, but I should have known better, you are a much better spring >>> > cleaner than that. >>> > >>> > I looked in the global settings and found nothing to activate or >>> > deactivate the tab. I have PyEnchant installed through pip. Anything >>> > else I might be missing? >>> >>> Just for completeness, does Ctrl-B on a body containing only >>> >>> import enchant >>> >>> work? >>> >>> Cheers -Terry >>> >>> > On Friday, April 15, 2016 at 8:16:20 AM UTC-4, Edward K. Ream wrote: >>> > > >>> > > Rev 6ff77135 improves spell checking in several ways: >>> > > >>> > > 1. It's considerably faster. It now uses a regex to find words. In >>> > > addition, properly spelled words are never looked up in the main >>> > > dictionary more than once. >>> > > >>> > > 2. Underscores are not part of words, so that a_b_c becomes three >>> > > words. This eliminates the need to define a_b_c as properly spelled. >>> > > >>> > > 3. Words preceded or followed by numbers are ignored. This happens >>> > > frequently in URL's, so this saves a lot of bother. >>> > > >>> > > 4. Words do include unicode word characters. >>> > > >>> > > Please report any problems immediately. Note that the >>> > > spell-as-you-type commands are not affected in any way. >>> > > >>> > > Edward >>> > > >>> > >>> >> -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
