From: Jean-Marc Lasgouttes Date: Mon, 19 Mar 2018 13:07:03 +0000 (+0100) Subject: Fix default spellchecker when only Enchant is available X-Git-Tag: 2.3.1~151 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0ddb1435c910b76c7939ee8c9d8273c7d36718b8;p=features.git Fix default spellchecker when only Enchant is available This has been annoying me for ages. (cherry picked from commit ae473b012a9c7605919f3f3bfad35710cab29566) --- diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 7cfa2a3445..104dcfbb21 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -283,6 +283,8 @@ void LyXRC::setDefaults() // FIXME: this check should test the target platform (darwin) #if defined(USE_MACOSX_PACKAGING) spellchecker = "native"; +#elif defined(USE_ENCHANT) + spellchecker = "enchant"; #elif defined(USE_ASPELL) spellchecker = "aspell"; #elif defined(USE_HUNSPELL) diff --git a/status.23x b/status.23x index d1728d60af..126e5c1fe9 100644 --- a/status.23x +++ b/status.23x @@ -68,7 +68,11 @@ What's new - Fix list of viewable formats in view/update menu (bug 11044). -- Fix encoding problems with listings insets and non-TeX fonts (bug 11056). +- Fix encoding problems with listings insets and non-TeX fonts (bug + 11056). + +- When only Enchant is configured as a spell checker, configure it + properly as default. * INTERNALS