SynEdit: allow pasting text in any form known by widgetset. Issue #32581

git-svn-id: trunk@56989 -
This commit is contained in:
martin 2018-01-06 16:15:13 +00:00
parent 07343847b2
commit 907b1725a5

View File

@ -1689,7 +1689,7 @@ begin
end; end;
end; end;
// Normal text // Normal text
if (FTextP = nil) and AClipboard.HasFormat(CF_TEXT) then begin if (FTextP = nil) then begin
Result := true; Result := true;
FText := AClipboard.AsText; FText := AClipboard.AsText;
if FText <> '' then begin if FText <> '' then begin