]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
A GUI for nomencl settings. Adds the possibility to enter a custom length.
[lyx.git] / src / Paragraph.h
index 197d5ffcef26c87fa40083ac9f5700a5709c4abc..21a5016f2566d24e22b77ae2339a4c179f60d44d 100644 (file)
@@ -203,6 +203,8 @@ public:
        bool isInserted(pos_type pos) const;
        /// is there a deletion at the given pos ?
        bool isDeleted(pos_type pos) const;
+       /// is the whole paragraph deleted ?
+       bool isFullyDeleted(pos_type start, pos_type end) const;
 
        /// will the paragraph be physically merged with the next
        /// one if the imaginary end-of-par character is logically deleted?
@@ -405,6 +407,9 @@ public:
                word_location const loc) const;
        ///
        void updateWords();
+       /// Spellcheck word at position \p pos.
+       /// \return true if pointed word is misspelled.
+       bool isMisspelled(pos_type pos) const;
 
 private:
        ///