diff options
author | 2019-06-02 15:40:34 -0400 | |
---|---|---|
committer | 2019-06-02 15:40:34 -0400 | |
commit | 9daa597673ada33dff2af89d528cf14d10f9ab13 (patch) | |
tree | 30913e446da5ca8c9ffe051b7f46f2fb015db64b /core/file_io.lua | |
parent | 84f281ac997dcd06b3205e4e13cbc4f5df793c0c (diff) | |
download | textadept-9daa597673ada33dff2af89d528cf14d10f9ab13.tar.gz textadept-9daa597673ada33dff2af89d528cf14d10f9ab13.zip |
Fixed bug with filters that have extension includes and pattern excludes.
This was particularly problematic when attempting to fetch all files with a
given extension, but not in a particular directory.
Also updated some relevant LuaDoc and removed temporary compatibility warnings.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r-- | core/file_io.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 80c36889..72c86e3d 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -404,10 +404,10 @@ io.quick_open_filters = {} -- `ui.dialogs.filteredlist()`. -- @usage io.quick_open(buffer.filename:match('^.+/')) -- list all files in the -- current file's directory, subject to the default filter --- @usage io.quick_open(io.get_current_project(), '%.lua$') -- list all Lua --- files in the current project --- @usage io.quick_open(io.get_current_project(), '![/\\]build') -- list all --- files in the current project except those in the build directory +-- @usage io.quick_open(io.get_current_project(), '.lua') -- list all Lua files +-- in the current project +-- @usage io.quick_open(io.get_current_project(), '!/build') -- list all files +-- in the current project except those in the build directory -- @see io.quick_open_filters -- @see lfs.default_filter -- @see quick_open_max |