mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:59:25 +02:00
SynEdit: Fixed Quick-Paste-selection (usually middle mouse button)
git-svn-id: trunk@22197 -
This commit is contained in:
parent
82ae075ca3
commit
d7dd7cd328
@ -2476,6 +2476,8 @@ begin
|
||||
ClipHelper.ReadFromClipboard(PrimarySelection);
|
||||
if ClipHelper.TextP <> nil then begin
|
||||
MoveCaret;
|
||||
if (not FBlockSelection.Persistent) then
|
||||
FBlockSelection.Clear;
|
||||
Result := PasteFromClipboardEx(ClipHelper);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user