From 7bb80f456b2f789af2fadcb62c135dab76c345d7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 18 Apr 2014 21:30:42 +0530 Subject: [PATCH] ... --- manual/edit.rst | 4 ++++ src/calibre/gui2/tweak_book/spell.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)