diff --git a/libs/qsynedit/qsynedit/SynEdit.cpp b/libs/qsynedit/qsynedit/SynEdit.cpp index 2ead2620..a207e9f8 100644 --- a/libs/qsynedit/qsynedit/SynEdit.cpp +++ b/libs/qsynedit/qsynedit/SynEdit.cpp @@ -3078,6 +3078,8 @@ void SynEdit::doPasteFromClipboard() QString text = clipboard->text(); if (text.isEmpty()) return; + //correctly handle spaces copied from wechat +// text.replace(QChar(0x00A0),QChar(0x0020)); mUndoList->beginBlock(); // if (selAvail()) { // mUndoList->AddChange(