Re: [code] [textadept] Edge mode per buffer

From: Mitchell <m.att.foicica.com>
Date: Mon, 29 Jul 2019 13:49:33 -0400 (EDT)

Hi,

On Mon, 29 Jul 2019, Qwerky wrote:

> Hi Mitchell,
>
> Thanks.  That looks like a good possibility.  I see that ui.lua sets
> variables such as buffer._anchor and buffer._current_pos.  Can the user
> define new per-buffer variables, such as buffer.clm_marks = {}?

Yes you can. Be aware that any user-defined variables that start with a lower-case letter may clash with future versions of Textadept that happen to start defining them. That is why Textadept uses the `_` prefix.

Cheers,
Mitchell

-- 
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 29 Jul 2019 - 13:49:33 EDT

This archive was generated by hypermail 2.2.0 : Tue 30 Jul 2019 - 06:50:38 EDT