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

From: Qwerky <mr.qwerky.att.gmail.com>
Date: Mon, 29 Jul 2019 12:03:11 -0600

Hi Mitchell,

On 2019-07-29 11:49, Mitchell wrote:
> 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

Great, thank you!

qwerky

-- 
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 - 14:03:11 EDT

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