X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=f5d6a23b26f9b18f20f47542ab3a6c2cdf870c62;hb=612109bb6e5e61ba3c3693696f329eac3a288b5b;hp=ed541b922357a9a71f6073fc1a7d95a6fb75a67d;hpb=d866717ef7503a1373dd1cb3925e1ac97b079192;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index ed541b9223..f5d6a23b26 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -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)