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

From: Gabriel Dubatti <gdubatti.att.gmail.com>
Date: Sat, 27 Jun 2020 19:35:30 -0300

Hi Mitchell,

     I got the same results. Only the buffer that is visible updates the
colors after a reset.

     I changed the background color to red. See the attached pictures.

     Cheers,

     Gabriel

El 24/6/20 a las 15:11, Mitchell escribió:
> Hi Gabriel,
>
> On Tue, 23 Jun 2020, Gabriel Dubatti wrote:
>
>> Hi Mitchell,
>>
>>     Adding ui.goto_view(view) does not change anything.
>>
>>     Only the active buffer updated the colors.
>
> You're only seeing this on reset right? Textadept does some tricks
> with buffers and views on initialization, so perhaps you can try:
>
>   events.connect(events.RESET_AFTER, function()
>     for _, view in ipairs(_VIEWS) do
>       ui.goto_view(view)
>       view:set_theme('ggg')
>     end
>   end)
>
> 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.
ok.png notok.png
Received on Sat 27 Jun 2020 - 18:35:30 EDT

This archive was generated by hypermail 2.2.0 : Sun 28 Jun 2020 - 06:27:55 EDT