#6401 For correct document traversal special logo chars should be treated like letters

This commit is contained in:
Stephan Witt 2020-08-16 17:05:44 +02:00
parent ba21c946a1
commit 7ec0bdbf28

View 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;
}