]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Merge branch 'master' of lyx:lyx
[lyx.git] / src / Paragraph.h
index ed541b922357a9a71f6073fc1a7d95a6fb75a67d..f5d6a23b26f9b18f20f47542ab3a6c2cdf870c62 100644 (file)
@@ -420,6 +420,9 @@ public:
        bool isChar(pos_type pos) const;
        /// True if the element at this point is a space
        bool isSpace(pos_type pos) const;
+       /// True if the element at this point is a hard hyphen or a apostrophe
+       /// If it is enclosed by spaces return false
+       bool isHardHyphenOrApostrophe(pos_type pos) const;
 
        /// returns true if at least one line break or line separator has been deleted
        /// at the beginning of the paragraph (either physically or logically)