diff --git a/libs/qsynedit/qsynedit/document.cpp b/libs/qsynedit/qsynedit/document.cpp index 09ebe9c9..cab25361 100644 --- a/libs/qsynedit/qsynedit/document.cpp +++ b/libs/qsynedit/qsynedit/document.cpp @@ -867,7 +867,8 @@ QList calcGlyphStartCharList(const QString &text) } i+=2; continue; - } else if (ch.unicode() == 0x200D) { + } else if (ch.unicode() == 0x200D || ch.unicode() == 0x200C ) { + //ZWJ && ZWNJ consecutive = true; } else if (ch.combiningClass()!=0 && !glyphStartCharList.isEmpty()) { //a Combining character