diff --git a/manual/edit.rst b/manual/edit.rst index d37fda8d1d..21a2397175 100644 --- a/manual/edit.rst +++ b/manual/edit.rst @@ -513,6 +513,10 @@ Words are shown with the number of times they occur in the book and the language the word belongs to. Language information is taken from the books metadata and from ``lang`` attributes in the HTML files. This allows the spell checker to work well even with books that contain text in multiple languages. +For example, in the following HTML extract, the word color will be checked +using American English and the word colour using British English:: + +
color colour
.. note:: You can double click a word to highlight the next occurrence of that word diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index 4f9b63f6a8..37d2209603 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -1040,7 +1040,7 @@ def find_next(word, locations, current_editor, current_editor_name, if current_editor_name not in files: current_editor = current_editor_name = None else: - # Re-order the list of locations to search so that we search int he + # Re-order the list of locations to search so that we search in the # current editor first lfiles = list(files) idx = lfiles.index(current_editor_name)