minor change
This commit is contained in:
parent
65beccdbd1
commit
0d4b7d0d4d
|
@ -2834,9 +2834,6 @@ void SynEdit::doCutToClipboard()
|
||||||
activeSelectionMode());
|
activeSelectionMode());
|
||||||
doSelecteLine();
|
doSelecteLine();
|
||||||
}
|
}
|
||||||
auto action = finally([this] {
|
|
||||||
mUndoList->EndBlock();
|
|
||||||
});
|
|
||||||
internalDoCopyToClipboard(selText());
|
internalDoCopyToClipboard(selText());
|
||||||
doSetSelText("");
|
doSetSelText("");
|
||||||
mUndoList->AddChange(
|
mUndoList->AddChange(
|
||||||
|
@ -2845,6 +2842,7 @@ void SynEdit::doCutToClipboard()
|
||||||
BufferCoord{0,0},
|
BufferCoord{0,0},
|
||||||
"",
|
"",
|
||||||
SynSelectionMode::smNormal);
|
SynSelectionMode::smNormal);
|
||||||
|
mUndoList->EndBlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SynEdit::doCopyToClipboard()
|
void SynEdit::doCopyToClipboard()
|
||||||
|
|
Loading…
Reference in New Issue