Re: [code] [textadept] Modifying non-global buffer

From: Mitchell <>
Date: Fri, 20 Sep 2013 22:29:42 -0400 (EDT)


On Fri, 20 Sep 2013, Chris Emerson wrote:

> Hi,
> What's the reason you can't call, for example, some_buf:append_text(...)
> when some_buf isn't the global one?

It boils down to Scintilla's implementation. You pass messages to
Scintilla objects (which are the widgets), not individual buffers. The
Scintilla objects operate on their current documents.

> Ideally I'd like to kick off something (eg using lspawn or _G.timeout) in
> the background and have it update, say, the message buffer, but keep working
> in another view while it's going.

Yeah, it would be nice, but sadly I don't think there is an easy way
around it.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 20 Sep 2013 - 22:29:42 EDT

This archive was generated by hypermail 2.2.0 : Sat 21 Sep 2013 - 06:30:13 EDT