Re: [code] Textadept 7.0 beta 5

From: Mitchell <m.att.foicica.com>
Date: Tue, 22 Oct 2013 09:00:23 -0400 (Eastern Daylight Time)

Robert,

On Tue, 22 Oct 2013, Robert Gieseke wrote:

> Hi.
>
> Am 10/21/13 10:35 PM, schrieb Mitchell:
>> Textadept 7.0 beta 5 is released from http://foicica.com/textadept
>>
>> Please see the migration guide[1] for upgrading from Textadept 6 to
>> Textadept 7.
>
> As it might help others (and I think it's not in the migration guide
> yet), I thought I mention here that you need to remove the
> {'any_char', l.any_char},
> line from your custom lexers.

I don't think it's a need, it's just no longer necessary.

>> * Changed `ui.set_theme()` API to accept a table of property
>> assignments.
>
> That's nice! This reminds me that I wanted to ask whether the
> `set_theme` function might be changed to only apply to GTK Textadept,
> sometimes I forget to write it as
> if not CURSES then ui.set_theme('base16-atelierdune-light') end
> and get a broken Curses display.
>
> Alternatively, maybe the doc example in 09_Themes could be changed to
> if not CURSES then ui.set_theme('dark') end

Thanks for the suggestion.

>> * Use `textadept.editing.INDIC_BRACEMATCH` indicator for brace
>> highlighting instead of styles.
>
> How does this work now? I get boxes as highlights now (on OS X).

That's the default. You can change the indicator style via `indic_style`
from your `~/.textadept/properties.lua`. You can see the example in
Textadept's `properties.lua`.

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 Tue 22 Oct 2013 - 09:00:23 EDT

This archive was generated by hypermail 2.2.0 : Wed 23 Oct 2013 - 06:45:17 EDT