+ /// 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 true if both positions are inside the same
+ /// spell range - i.e. the same word.
+ /// use it for positions inside misspelled range only.
+ bool isSameSpellRange(pos_type pos1, pos_type pos2) const;