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

From: Mitchell <m.att.foicica.com>
Date: Wed, 24 Jun 2020 14:11:00 -0400 (EDT)

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.
Received on Wed 24 Jun 2020 - 14:11:00 EDT

This archive was generated by hypermail 2.2.0 : Thu 25 Jun 2020 - 06:42:04 EDT