From f187e9ead2b591dc210b0d718862882569067314 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Tue, 27 Sep 2022 14:43:33 +0800 Subject: [PATCH] work save --- libs/qsynedit/qsynedit/SynEdit.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(