Re: [code] [textadept] Tab click event

From: Mitchell <m.att.foicica.com>
Date: Mon, 25 Jul 2016 17:51:42 -0400 (EDT)

Hi Gabriel,

On Mon, 25 Jul 2016, Gabriel Dubatti wrote:

> 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 `events.BUFFER_AFTER_SWITCH`
>>>> 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]: http://foicica.com/hg/textadept/rev/e3c3b7267675
>
> 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.

Below the 8.7 downloads on the front page are the nightly builds for each
platform.

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 Mon 25 Jul 2016 - 17:51:42 EDT

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