Re: [code][textadept] Textadept 10.0 alpha 3 | split view tab name

From: Peter Rolf <indiego.att.gmx.net>
Date: Mon, 16 Apr 2018 21:47:27 +0200

Hi Mitchell,

Am 2018-04-16 um 16:28 schrieb Mitchell:
> Hi Peter,
>
> Sorry for the late reply.
>
> On Thu, 12 Apr 2018, Peter Rolf wrote:
>
>> Hi Mitchell,
>>
>> a minor problem
>>
>> - split view "renames" the active tab (ui.tabs) to "Untitled"
>>
>> I also had to add "VIEW_NEW" to the event list of "Elastic Tabstops".
>> I'm pretty sure that I have tested split views earlier (donno when) and
>> that this was covered by "BUFFER_AFTER_SWITCH" in older versions.
>
> I am not seeing this behavior in a stock installation.
>
> 1. Open a file.
> 2. Open a second file. (The tab bar shows now.)
> 3. View -> Split View Vertical
> 4. The second file's tab still shows the correct name.
>
> Cheers,
> Mitchell

Can't remember why, but I put a "buffer:set_save_point()" call in my
"style.lua" file. Probably misread the manual at that time :[

Removing it solves the problem. Still an interesting side effect.

[init.lua]
ui.tabs = true
buffer:set_save_point()

Cheers, Peter

-- 
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 16 Apr 2018 - 15:47:27 EDT

This archive was generated by hypermail 2.2.0 : Tue 17 Apr 2018 - 06:47:04 EDT