Re: [code] Textadept: someBuffer.filename only set for current buffer

From: Phil S. <accountz.att.mailbox.org>
Date: Sat, 3 Nov 2018 23:41:57 +0100

Please ignore, my own buggy fault (I opened the message-buffer halfway
through for diag purposes..)

On 11/3/18 11:38 PM, Phil S. wrote:
> Is this by design, and if so what's the reasoning?
>
> When iterating via `for _, buf in ipairs(_BUFFERS) do .. end`,
> `buf.filename` is only set correctly for the `buf` that represents the
> currently active `buffer`, but is `nil` for all others (they all do
> contain existing files).
>
> Bug or feature?  =)

-- 
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 Sat 03 Nov 2018 - 18:41:57 EDT

This archive was generated by hypermail 2.2.0 : Sun 04 Nov 2018 - 06:42:13 EST