Ticket #4514 (new enhancement)

Opened 13 months ago

Last modified 13 months ago

Open all marked files in a panel in mceditor

Reported by: jonn Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Hello. I recently added the possibility of opening all marked files in a panel into the editor.

Previously, if one had marked several files in a panel and then pressed f4, only the selected file would be open -even if it was not marked. I believe it is more natural to open the marked files, if any.

I present two implementations - one that only touches src/filemanager/cmd.c, and one that makes mcedit_arg_new in src/arg.h public so we can simplify things in the former file.

I hope this is of interest to the community and would be glad to get some feedback.

Attachments

open_marked_in_editor.diff (1.5 KB) - added by jonn 13 months ago.
open_marked_in_editor-2.diff (2.2 KB) - added by jonn 13 months ago.

Change History

Changed 13 months ago by jonn

Changed 13 months ago by jonn

comment:1 Changed 13 months ago by andrew_b

We should not lose the current behaviour. We should keep the possibility to open a current file regardless of how many files are marked.

Note: See TracTickets for help on using tickets.