]> git.lyx.org Git - features.git/commitdiff
#6401 For correct document traversal special logo chars should be treated like letters
authorStephan Witt <switt@lyx.org>
Sun, 16 Aug 2020 15:05:44 +0000 (17:05 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 16 Aug 2020 15:05:44 +0000 (17:05 +0200)
src/insets/InsetSpecialChar.cpp

index 33d3d0bc19d572b5920afe703069e7dfd684a78a..56925c4f32202006c9601fca084bb1d537f22821 100644 (file)
@@ -672,7 +672,9 @@ bool InsetSpecialChar::isChar() const
 bool InsetSpecialChar::isLetter() const
 {
        return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK
-               || kind_ == NOBREAKDASH;
+               || kind_ == NOBREAKDASH
+               || kind_ == PHRASE_LYX || kind_ == PHRASE_LATEX
+               || kind_ == PHRASE_TEX || kind_ == PHRASE_LATEX2E;
 }