Re: [code] [textadept] Tab click event

From: Gabriel Dubatti <>
Date: Mon, 25 Jul 2016 09:11:31 -0300

El 24/07/2016 a las 16:43, Mitchell escribió:
> Hi Gabriel,
> On Sat, 23 Jul 2016, Gabriel Dubatti wrote:
>> El 23/07/16 a las 22:57, Mitchell escribió:
>>> Hi Gabriel,
>>> On Sat, 23 Jul 2016, Gabriel Dubatti wrote:
>>>> Hi Mitchell,
>>>> I just wondered if you can add a "tab_clicked" event that allows
>>>> us, if
>>>> we want, to change the view 'before' the buffer is changed.
>>>> I find this more natural (more IDE like) than the actual behavior,
>>>> specially when split views show search results or compiler output.
>>> Do you mean in an event handler, call `ui.goto_view(...)` such that
>>> subsequent `events.BUFFER_BEFORE_SWITCH` and
>>> apply to the buffer in the view just switched to?
>> Yes. I use the tab click event to change the view (if needed) before
>> the buffer switching occurs.
>> For example, if the tab corresponding to a project file is clicked,
>> the project view is enforced.
>> This prevents that the project file is displayed in the wrong view
>> (which breaks the "IDE panels" effect).
>> The same holds for the search results view and for regular files
>> (that must not be shown in project or in the search views).
>> [snip]
> Thanks for the confirmation. Committed[1]. This will be in the next
> nightly.
> Cheers,
> Mitchell
> [1]:

Hi Mitchell,

     From where can I download the nightly build for the 9 alpha version?
     (The site points to the 8.7 nightly version)

     I saw the changes in the mercurial repo and they are ok.

     Best regards,

You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Mon 25 Jul 2016 - 08:11:31 EDT

This archive was generated by hypermail 2.2.0 : Tue 26 Jul 2016 - 06:29:20 EDT