commit 0ddb1435c910b76c7939ee8c9d8273c7d36718b8
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Mon Mar 19 14:07:03 2018 +0100

    Fix default spellchecker when only Enchant is available
    
    This has been annoying me for ages.
    
    (cherry picked from commit ae473b012a9c7605919f3f3bfad35710cab29566)
---
 src/LyXRC.cpp |    2 ++
 status.23x    |    6 +++++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp
index 7cfa2a3..104dcfb 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 d1728d6..126e5c1 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

Reply via email to