diff options
author | 2011-03-25 17:20:59 -0400 | |
---|---|---|
committer | 2011-03-25 17:20:59 -0400 | |
commit | 6ceffde0ec4421b46a349b97d56eaa9144c21625 (patch) | |
tree | 612e85a760caf0ba4ab03c303c5d4e194d09abcb /core/gui.lua | |
parent | 3f286b2cc266d0b72db00950a8ddbb0c798e1416 (diff) | |
download | textadept-6ceffde0ec4421b46a349b97d56eaa9144c21625.tar.gz textadept-6ceffde0ec4421b46a349b97d56eaa9144c21625.zip |
Snapopen allows multiple files to be selected now.
Diffstat (limited to 'core/gui.lua')
-rw-r--r-- | core/gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua index a7725e29..4a67b220 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -65,7 +65,7 @@ function gui.filteredlist(title, columns, items, int_return, ...) '--columns', columns, '--items', items, ...) - local patt = int_return and '(%-?%d+)\n(%d+)$' or '([^\n]+)\n([^\n]+)$' + local patt = int_return and '^(%-?%d+)\n(%d+)$' or '^([^\n]+)\n(.+)$' local response, value = out:match(patt) if response == (int_return and '1' or 'gtk-ok') then return not int_return and value or tonumber(value) |