Closed JonnyTech closed 4 years ago
Ha, ok, I did miss that, ok I will check this. Thanks to note it.
Hello. Should be fixed in last commit 502e8d6.
Thanks to note it.
Thanks @fredvs, shall check tomorrow.
Does lines 1280- in actionsmodule.pas also need changing?:
procedure tactionsmo.deletewordatcursor(const sender: tcustomaction);
begin
sourcefo.activepage.copywordatcursor();
sourcefo.activepage.edit.cutselection;
end;
Thanks @fredvs, shall check tomorrow.
Does lines 1280- in actionsmodule.pas also need changing?:
procedure tactionsmo.deletewordatcursor(const sender: tcustomaction); begin sourcefo.activepage.copywordatcursor(); sourcefo.activepage.edit.cutselection; end;
Huh, it is exactly what is changed in commit 502e8d6....
procedure tactionsmo.ondeleteword(const sender: TObject);
begin
sourcefo.activepage.selectwordatcursor();
sourcefo.activepage.edit.deleteselection;
end;
Oh, ok, because they are two procedures at different places in the same file: deletewordatcursor
and ondeleteword
.
Oh, ok, because they are two procedures at different places in the same file:
deletewordatcursor
andondeleteword
.
Yes before commit 502e8d6, now it is fixed and there is only ondeleteword
Note that selectwordatcursor
was added in 502e8d6 commit.
@JonnyTech Ho, I apologize, you are totally right, sorry, deletewordatcursor
should be replaced by selectword
.
Many thank to note it, I will fix it now.
Done in commit 122f70b. @JonnyTech : Well seen!
Thanks Fred... don't you ever sleep??
No, sorry, I dont have time for that.
;-)
Just tried the new
delete word at cursor
feature but found that it cleared the contents of my clipboard and replaced it with the deleted word. Is this by design? If so can you add an option to delete the word without touching the clipboard buffer please?