GNOME Bugzilla – Bug 316031
spell-checker plugin and Enchant
Last modified: 2019-03-23 20:33:15 UTC
I have created a patch for the spell-checker plugin. I replaced the aspell/pspell code with the more general "Enchant" spell-checking library. Enchant supports multiple backends at once, including aspell, ispell and myspell. For example it can use aspell for English, and ispell for French. So Gedit will no longer exclusively dependend on pspell, but can use other backends supported by Enchant. More information on why this is a good thing, see http://www.abisource.com/projects/enchant/
Created attachment 52102 [details] [review] The patch
Sorry, I noticed now that we forgot to respond to this report and this is unfortunate given that we really appreciate patches. We have been pretty busy in this period :( I am not the best person for commenting about the spell checking stuff given that I haven't never really looked accurately at the code, but I wanted to at least say a few things: - we are in the process of migrating plugins to a new plugin system (see http://live.gnome.org/Gedit_2fNewMdi for details) and thus the old plugins are going to be obsoleted - There is currently ongoing discussion on the various gnome lists about spell checking: some people are pushing for a genereic solution to be included in gtk itself (not sure if this will happen) - I know some guys alreday attempted a similar work by factoring out the spell chacking plugin in a generic spell checking library that could be used also in other apps beside gedit and using enchant as a backend. However I'm not 100% sure of the current status of such project Thanks again for your work, we'll try to give you more appropriate feedback as soon as time permits. Feel free to drop by in #gedit on irc.gnome.org for any question.
*** Bug 328900 has been marked as a duplicate of this bug. ***
Willen, sorry for the very late reply. I'm really interested in your patch. Could you please check it still apply to CVS HEAD? Could you please remove aspell/pspell checks from configure.ac? Is there a way to get the list of available dictionaries from enchant?
You can find the myspell dictionaries under: http://lingucomponent.openoffice.org/spell_dic.html
I tested the patch against gedit 2.14.3, does that count? It didn't work, even if i.e. abiword was spellchecking correctly.
Bug #365899 contains an updated patch. *** This bug has been marked as a duplicate of 365899 ***