pos_type pos, ///< start from here.
bool del = true) const;
+ void locateWord(pos_type & from, pos_type & to,
+ word_location const loc) const;
///
- void updateWords(CursorSlice const & sl);
+ void updateWords();
+ /// Spellcheck word at position \p pos.
+ /// \return true if pointed word is misspelled.
+ bool isMisspelled(pos_type pos) const;
private:
///
void deregisterWords();
///
- void collectWords(CursorSlice const & sl);
+ void collectWords();
///
void registerWords();