From 9daa597673ada33dff2af89d528cf14d10f9ab13 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 2 Jun 2019 15:40:34 -0400 Subject: 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. --- core/file_io.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/file_io.lua') 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 -- cgit v1.2.3