Re: [code] [textadept] Textredux bug: Not all files shown in file dialog

From: Robert Gieseke <rob.g.att.web.de>
Date: Mon, 30 Jun 2014 21:56:17 +0200

Hi Joshua,

Am 30/06/14 21:48, schrieb Mitchell:
> Hi Joshua,
>
> On Mon, 30 Jun 2014, Joshua Krämer wrote:
>
>> Hello,
>>
>> in the Textredux file open dialog, not all files are shown in a
>> directory with 1609 files. The top line says "1000 entries", which
>> seems to be the limit?
>
> It's likely `io.SNAPOPEN_MAX`[1].
>
> Cheers,
> Mitchell
>
> [1]: http://foicica.com/textadept/api/io.html#SNAPOPEN_MAX

yes, Textredux "hijacks" this setting as well, you can set it higher in
your init.lua

io.SNAPOPEN_MAX = 10000 -- or just 2000 …

Alternatively, you can toggle between recursive and 'flat' search with
Ctrl-S and change into sub-directories first, unless you have a
directory with thousands of files, of course.

Cheers,
Robert

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 30 Jun 2014 - 15:56:17 EDT

This archive was generated by hypermail 2.2.0 : Tue 01 Jul 2014 - 06:34:36 EDT