+ docstring_list & suggestions, bool do_suggestion = true,
+ bool check_learned = false) const;
+
+ /// Spell checker status at position \p pos.
+ /// If \p check_boundary is true the status of position immediately
+ /// before \p pos is tested too if it is at word boundary.
+ /// \return true if one of the tested positions is misspelled.
+ bool isMisspelled(pos_type pos, bool check_boundary = false) const;
+
+ /// \return the spell range (misspelled area) around position.
+ /// Range is empty if word at position is correctly spelled.
+ FontSpan const & getSpellRange(pos_type pos) const;
+
+ /// spell check of whole paragraph
+ /// remember results until call of requestSpellCheck()
+ void spellCheck() const;
+
+ /// query state of spell checker results
+ bool needsSpellCheck() const;
+ /// mark position of text manipulation to inform the spell checker
+ /// default value -1 marks the whole paragraph to be checked (again)
+ void requestSpellCheck(pos_type pos = -1);