]> git.lyx.org Git - features.git/commitdiff
Fix default spellchecker when only Enchant is available
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 19 Mar 2018 13:07:03 +0000 (14:07 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 19 Mar 2018 15:51:45 +0000 (16:51 +0100)
This has been annoying me for ages.

(cherry picked from commit ae473b012a9c7605919f3f3bfad35710cab29566)

src/LyXRC.cpp
status.23x

index 7cfa2a3445b1924f0ff547e206ddfbf566325b63..104dcfbb21bd33e71278bc0d4182926d1a369138 100644 (file)
@@ -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)
index d1728d60afaeaf61c71ffab08a03354c882781ad..126e5c1fe9a254216cfbb1ed6771c428555cf4d9 100644 (file)
@@ -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