]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
LogUi.ui: string redundancy.
[lyx.git] / src / Paragraph.h
index eeb4748bba30a9b748323d209d71434c98a37a9f..dec527cbc85590ec8963ad4d5b11057e514d81a7 100644 (file)
@@ -34,6 +34,7 @@ class Counters;
 class Cursor;
 class CursorSlice;
 class DocIterator;
+class docstring_list;
 class DocumentClass;
 class Inset;
 class InsetBibitem;
@@ -49,6 +50,7 @@ class PainterInfo;
 class ParagraphParameters;
 class TexRow;
 class Toc;
+class WordLangTuple;
 
 class FontSpan {
 public:
@@ -417,6 +419,12 @@ public:
                word_location const loc) const;
        ///
        void updateWords();
+
+       /// Spellcheck word at position \p from and fill in found misspelled word.
+       /// \return true if pointed word is misspelled.
+       bool spellCheck(pos_type & from, pos_type & to, WordLangTuple & wl,
+               docstring_list & suggestions) const;
+
        /// Spellcheck word at position \p pos.
        /// \return true if pointed word is misspelled.
        bool isMisspelled(pos_type pos) const;