Ticket #4204 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

[patch] Support for globs in open file dialog

Reported by: psprint Owned by:
Priority: major Milestone: Future Releases
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Hi,
the patch adds support for opening multiple files at once via a filename with wildcard entered in open dialog. So, for example entering src/editor/edit.[ch] in the input will cause opening of edit.c and edit.h. The patch is quite simple, it utilizes glob() POSIX function.

Attachments

EditFileGlobUpstr.patch (3.8 KB) - added by psprint 4 years ago.

Change History

Changed 4 years ago by psprint

comment:1 in reply to: ↑ description Changed 4 years ago by andrew_b

Replying to psprint:

glob()

What about open files on some VFS? I think, dir_list_load() should be used instead.

Note: See TracTickets for help on using tickets.