X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=f5d6a23b26f9b18f20f47542ab3a6c2cdf870c62;hb=4d5bef1bdcbe7a20d67613a793acb89f0e583bf6;hp=ca843991f7d028f810d68b69819c464b0e698a53;hpb=f361c26a0522059556b550cd0f468794af2ad301;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index ca843991f7..f5d6a23b26 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -192,8 +192,8 @@ public: /// \param force means: output even if layout.inpreamble is true. void latex(BufferParams const &, Font const & outerfont, otexstream &, - TexRow & texrow, OutputParams const &, - int start_pos = 0, int end_pos = -1, bool force = false) const; + OutputParams const &, int start_pos = 0, int end_pos = -1, + bool force = false) const; /// Can we drop the standard paragraph wrapper? bool emptyTag() const; @@ -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)