mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 10:57:55 +02:00
IDE: Add [Ctrl+P] shortvut to Messages window. Part of merge request !397 by n7800.
This commit is contained in:
parent
f762946f60
commit
facd1187fc
@ -1857,6 +1857,16 @@ begin
|
|||||||
end;
|
end;
|
||||||
Key := 0;
|
Key := 0;
|
||||||
end
|
end
|
||||||
|
else if (Key = VK_P) and (Shift = [ssCtrl]) then
|
||||||
|
begin
|
||||||
|
with TMessagesFrame(Owner) do
|
||||||
|
case MessagesCtrl.FilenameStyle of
|
||||||
|
mwfsShort: FileStyleMenuItemClick(MsgFileStyleRelativeMenuItem);
|
||||||
|
mwfsRelative: FileStyleMenuItemClick(MsgFileStyleFullMenuItem);
|
||||||
|
mwfsFull: FileStyleMenuItemClick(MsgFileStyleShortMenuItem);
|
||||||
|
end;
|
||||||
|
Key := 0;
|
||||||
|
end
|
||||||
|
|
||||||
{ Clipboard }
|
{ Clipboard }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user