Re: [code] [textadept] Tab click event

From: Gabriel Dubatti <gdubatti.att.gmail.com>
Date: Wed, 27 Jul 2016 19:12:26 -0300

El 27/07/16 a las 18:02, Mitchell escribió:
> Hi Gabriel,
>
> On Mon, 25 Jul 2016, Gabriel Dubatti wrote:
>
>> El 25/07/16 a las 18:51, Mitchell escribió:
>>> 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
>>
>> Hi Mitchell,
>>
>> I downloaded the Win32 version at work from the front page and now
>> the Linux 64 version, and it seems that both are nightly builds but
>> for version 8.7.
>>
>> This is the first line from
>> textadept_NIGHTLY_2016-06-24.x86_64/core/init.lua:
>> _RELEASE = "Textadept 8.7"
>>
>> Same thing with the Mac OSX file: textadept_NIGHTLY.osx.zip
>>
>> Is the site updated? or am I doing something wrong?
>
> I've updated the download links. My build scripts were running
> properly, but not updating the download links for some reason.
>
> Sorry for the inconvenience.
>
> Cheers,
> Mitchell

Mitchell:
     No inconvenience at all!
     Thank you for your great work.

     Now it works perfectly! (tested on Linux 64).
     Tomorrow I'll test the Win32 version.

     Best wishes,
     Gabriel

-- 
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 27 Jul 2016 - 18:12:26 EDT

This archive was generated by hypermail 2.2.0 : Thu 28 Jul 2016 - 06:45:12 EDT