mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 19:39:24 +02:00
SynEdit: allow pasting text in any form known by widgetset. Issue #32581
git-svn-id: trunk@56989 -
This commit is contained in:
parent
07343847b2
commit
907b1725a5
@ -1689,7 +1689,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
// Normal text
|
||||
if (FTextP = nil) and AClipboard.HasFormat(CF_TEXT) then begin
|
||||
if (FTextP = nil) then begin
|
||||
Result := true;
|
||||
FText := AClipboard.AsText;
|
||||
if FText <> '' then begin
|
||||
|
Loading…
Reference in New Issue
Block a user