Index: gc_core/js/lang_core/gc_engine.js ================================================================== --- gc_core/js/lang_core/gc_engine.js +++ gc_core/js/lang_core/gc_engine.js @@ -1010,11 +1010,10 @@ exports.pkg = gc_engine.pkg; exports.name = gc_engine.name; exports.version = gc_engine.version; exports.author = gc_engine.author; // objects - exports.getSpellChecker = gc_engine.getSpellChecker; exports.oSpellChecker = gc_engine.oSpellChecker; exports.oTokenizer = gc_engine.oTokenizer; exports.aIgnoredRules = gc_engine.aIgnoredRules; exports.oOptionsColors = gc_engine.oOptionsColors; // init Index: gc_lang/fr/mailext/worker/gce_worker.js ================================================================== --- gc_lang/fr/mailext/worker/gce_worker.js +++ gc_lang/fr/mailext/worker/gce_worker.js @@ -56,11 +56,11 @@ text = require("resource://grammalecte/text.js"); //lexgraph_fr = require("resource://grammalecte/graphspell/lexgraph_fr.js"); gc_engine.load(sContext, "sCSS"); oSpellChecker = gc_engine.getSpellChecker(); if (sGCOptions !== "") { - console.log(sGCOptions); + console.log("set options:", sGCOptions); gc_options.setOptions(helpers.objectToMap(JSON.parse(sGCOptions))); } // we always retrieve options from the gc_engine, for setOptions filters obsolete options return gc_options.getOptions().gl_toString(); }