Re: [code] [textadept] Textadept 11.0 alpha 2

From: Mitchell <>
Date: Fri, 12 Jun 2020 09:01:47 -0400 (EDT)

Hi Pedro,

On Fri, 12 Jun 2020, Pedro Andres Aranda Gutierrez wrote:

> Hi Mitchell,
> Hope to find you healthy...
> As a reaction to the buffer/view messages on set_theme, I now have
> view:set_theme()
> and references to
> buffer.caret_width, buffer.caret_fore and buffer.extra_descent
> in my init.lua, which looks somehow odd.
> Do we have the corresponding view. ... variables?

Yes, it is recommended to use view. for those fields.

> Since the manual states not to blindly replace, what are the criteria to
> replace or not?

It just needs to pass the eyeball test -- does the field belong to a buffer object? If so, it can be replaced with view. If it's inside a string, inside a comment, or belongs to some user-defined table, then probably do not replace.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 12 Jun 2020 - 09:01:47 EDT

This archive was generated by hypermail 2.2.0 : Sat 13 Jun 2020 - 06:38:41 EDT