From 00666feaf6580815b40045ad784681c9bf2ef989 Mon Sep 17 00:00:00 2001 From: Michal Siedlaczek Date: Sat, 7 Oct 2017 15:54:22 -0400 Subject: [PATCH] FAQ update for spellcheck & test fix --- doc/faq.asciidoc | 17 ++++++++--------- tests/end2end/features/misc.feature | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index c46286950..ba4364720 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -125,9 +125,9 @@ When using quickmark, you can give them all names, like without having to remember the exact website title or address. How do I use spell checking?:: - Qutebrowser's support for spell checking is somewhat limited at the moment - (see https://github.com/qutebrowser/qutebrowser/issues/700[#700]), but it - can be done. + Configuring spell checking in Qutebrowser depends on the backend in use + (see https://github.com/qutebrowser/qutebrowser/issues/700[#700] for + a more detailed discussion). + For QtWebKit: @@ -145,12 +145,11 @@ For QtWebKit: + For QtWebEngine: -. Not yet supported unfortunately :-( + - Adding it shouldn't be too hard though, since QtWebEngine 5.8 added an API for - this (see - https://github.com/qutebrowser/qutebrowser/issues/700#issuecomment-290780706[this - comment for a basic example]), so what are you waiting for and why aren't you - hacking qutebrowser yet? +. Make sure your version of PyQt is 5.8 or higher. +. Use `install_dict.py` script to install dictionaries. + Run the script with `-h` for the parameter description. +. Set `spellcheck.languages` to the desired list of languages, e.g.: + `:set spellcheck.languages "['en-US', 'pl-PL']"` How do I use Tor with qutebrowser?:: Start tor on your machine, and do `:set network proxy socks://localhost:9050/` diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature index 2f5bb1fcd..8750cb812 100644 --- a/tests/end2end/features/misc.feature +++ b/tests/end2end/features/misc.feature @@ -546,7 +546,7 @@ Feature: Various utility commands. @qtwebkit_skip @qt>=5.8 @cannot_have_dict=af-ZA Scenario: Set valid but not installed language When I run :set spellcheck.languages ['af-ZA'] - Then the warning "Language af-ZA is not installed." should be shown + Then the warning "Language af-ZA is not installed *" should be shown @qtwebkit_skip @qt>=5.8 @must_have_dict=en-US Scenario: Set valid and installed language