spellchecker forgets selected language
the choice of languages in Edit→Preferences. . . →Editor→Spell-check language differs from the choice in Edit →Spelling→<language>. Only if i select a language in Edit →Spelling→<language> i get working spellchecking! At every new start of TeXworks the is once again no language selected!
i use texworks 0.6.9-3 on Manjaro Linux, installed via the Manjaro-repositories. In the spellchecker-folder ~/.local/share/TUG/TeXworks/dictionaries/ i have the needed *.aff and .dic files as links to /usr/share/hunspell
I'd like to select a default spellchecker language once instead of every time i open TeXworks. btw, i love TeXworks and use it almost daily. thank you
Thanks for reporting. Regarding the two dictionary lists being different: probably the one in the prefs dialog "merges" symlinked dicts - I'll have to look into this. Regarding the problem of not saving the language setting:
- What does
ls -lisa ~/.config/TUG/TeXworks.confgive initially - What does
grep language ~/.config/TUG/TeXworks.confgive initially? - Now change the preferences and click "OK".
- What do the two commands listed above give now?
This should give me some clue as to whether the file exists, is accessible, gets updated, and with what values.
at start no spellchecking active
ls -lisa ~/.config/TUG/TeXworks.conf
5561864 48 -rw-r--r-- 1 oliver oliver 46016 7. Sep 11:38 /home/oliver/.config/TUG/TeXworks.conf
grep language ~/.config/TUG/TeXworks.conf
language=None
selected de_DE language with: Edit →Spelling→<language> – spellchecking works
ls -lisa ~/.config/TUG/TeXworks.conf
5561877 48 -rw-r--r-- 1 oliver oliver 46016 7. Sep 16:13 /home/oliver/.config/TUG/TeXworks.conf
grep language ~/.config/TUG/TeXworks.conf
language=None
closed and reopened TeXworks. no spellchecking active
ls -lisa ~/.config/TUG/TeXworks.conf
5561884 48 -rw-r--r-- 1 oliver oliver 46016 7. Sep 16:18 /home/oliver/.config/TUG/TeXworks.conf
grep language ~/.config/TUG/TeXworks.conf
language=None
selected language with: Edit→Preferences. . . →Editor→Spell-check language de_AT spellchecking selected, de_DE is not available in that dropdown menu – no spellchecking active
ls -lisa ~/.config/TUG/TeXworks.conf
5561885 48 -rw-r--r-- 1 oliver oliver 46017 7. Sep 16:19 /home/oliver/.config/TUG/TeXworks.conf
grep language ~/.config/TUG/TeXworks.conf
language=de_AT
after a restart of TeXworks, the de_AT spellchecking is still active. So the problem seems to only occur, when a language is selected in Edit →Spelling→<language> which is not available in Edit→Preferences. . . →Editor→Spell-check language
thank you very much!