Interestingly, Ignored words in Sigil in macOS is a bit broken (although no one has ever complained). Ignored words should be associated with a single book/MainWindow. But Sigil on macOS can have multiple MainWindows open within the same instance of Sigil.
So the list of ignored words should be associated with either a MainWindow or a Book object and not the single instance of the SpellCheck object as is done currently, at least on macOS.
That will take some work to keep and pass in an ignored word hash to be used by spellchecking from the book invoking the spellcheck.
This is the second reason that ignored words should never be added to a dictionary itself even if temporarily.
More work to do here ...
|