mirror of https://gitlab.com/basile.b/dexed.git
editor, does not replace clipboard to reload newer doc version
This commit is contained in:
parent
85448a52f5
commit
7e09355a22
|
@ -1025,12 +1025,10 @@ begin
|
|||
str := TStringList.Create;
|
||||
try
|
||||
str.LoadFromFile(fFilename);
|
||||
ClearAll;
|
||||
if str.Count > 0 then
|
||||
begin
|
||||
DoCopyToClipboard(str.Text);
|
||||
PasteFromClipboard;
|
||||
end;
|
||||
SelectAll;
|
||||
SelText:= str.Text;
|
||||
SelStart:=0;
|
||||
SelEnd:=0;
|
||||
fModified := true;
|
||||
finally
|
||||
str.Free;
|
||||
|
|
Loading…
Reference in New Issue