X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetSpecialChar.cpp;h=ff4c7208a60c2abaa05fdd89e015b6cc7b4689b0;hb=ed7d3a33abad4e1b5141b2ec626b542d1603782c;hp=25c8a3a4e327b697a3e2d4c2ecb74fe8abc52b55;hpb=5dfd1d0f4beffb34cf5fc57b9f7712981b823a15;p=lyx.git diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets/InsetSpecialChar.cpp index 25c8a3a4e3..ff4c7208a6 100644 --- a/src/insets/InsetSpecialChar.cpp +++ b/src/insets/InsetSpecialChar.cpp @@ -571,6 +571,12 @@ void InsetSpecialChar::validate(LaTeXFeatures & features) const } +bool InsetSpecialChar::isChar() const +{ + return kind_ != HYPHENATION || kind_ != LIGATURE_BREAK; +} + + bool InsetSpecialChar::isLetter() const { return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK