mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Viewer plugins - itm_center and itm_wrap support
This commit is contained in:
parent
d7abdecdba
commit
3972b94de8
1 changed files with 9 additions and 1 deletions
|
|
@ -1153,7 +1153,15 @@ end;
|
|||
procedure TfrmViewer.WMCommand(var Message: TLMCommand);
|
||||
begin
|
||||
case Message.NotifyCode of
|
||||
itm_next: if Message.ItemID = 0 then cm_LoadNextFile([]);
|
||||
itm_center:
|
||||
miCenter.Checked:= Boolean(Message.ItemID);
|
||||
itm_next: begin
|
||||
if Message.ItemID = 0 then cm_LoadNextFile([]);
|
||||
end;
|
||||
itm_wrap: begin
|
||||
gViewerWrapText:= Boolean(Message.ItemID);
|
||||
actWrapText.Checked:= gViewerWrapText;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue