work save
This commit is contained in:
parent
d946b9373e
commit
f187e9ead2
|
@ -3078,6 +3078,8 @@ void SynEdit::doPasteFromClipboard()
|
||||||
QString text = clipboard->text();
|
QString text = clipboard->text();
|
||||||
if (text.isEmpty())
|
if (text.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
//correctly handle spaces copied from wechat
|
||||||
|
// text.replace(QChar(0x00A0),QChar(0x0020));
|
||||||
mUndoList->beginBlock();
|
mUndoList->beginBlock();
|
||||||
// if (selAvail()) {
|
// if (selAvail()) {
|
||||||
// mUndoList->AddChange(
|
// mUndoList->AddChange(
|
||||||
|
|
Loading…
Reference in New Issue