Fwd: Re: [code][textadept] Initialization issue II

From: Gabriel Dubatti <gdubatti.att.gmail.com>
Date: Fri, 10 Nov 2017 17:29:40 -0300

Hi Mitchell,

     I compiled TA 9.2 and TA 8.5 and got exactly the same behaviour.

     When I have some free time I'll try to add some debug and see if I
can find something else.
     Luckily, I'm still running 16.04 on my computers (with gcc 5.4).

     Cheers,
     Gabriel

-------- Mensaje reenviado --------
Asunto: Re: [code][textadept] Initialization issue II
Fecha: Fri, 10 Nov 2017 12:12:01 -0300
De: Gabriel Dubatti <gdubatti.att.gmail.com>
Responder a: gdubatti.att.gmail.com
Organización: Ing. Dubatti
Para: Mitchell <m.att.foicica.com>

Hi Mitchell,

     I only tested 9.6 without any source code change by now. I will try to
compile older versions when I have some time.

     What I realized is that when get_line(0) does not work, it returns
the content of the command buffer for all buffers except the last one
(which always works fine).

     It's like the issue were in the connection between the lua buffers
and the proper Scintilla buffers (something in l_todoc() or
l_globaldoccompare(), perhaps...)

     Calling reset() does not solve the issue. Sometimes it runs fine
and sometimes don't.

     Cheers,

     Gabriel

El 10/11/2017 a las 11:47, Mitchell escribió:
> Hi Gabriel,
>
> On Thu, 9 Nov 2017, Gabriel Dubatti wrote:
>
>> Hi,
>>
>>     I put some time into debugging this, and found that the issue
>> appears
>> after recompiling the 9.6 version (without any change) in Ubuntu Mate
>> 17.10
>> following the compilation instructions (build-essential and
>> libgtk2-0.dev).
>>
>>     I can not reproduce the issue with the downloaded version (9.6)
>> so it
>> could be a gcc issue (version 7.2) or a library problem.
>
> This is a very strange issue. I have no idea why `buffer:get_line(0)`
> would not work in an `events.INITIALIZED` event handler. It certainly
> should. May I ask you to try compiling a few vanilla Textadept 9.x
> versions on your modern machine and see if you run into the same issue
> there? I admit it is a bit problematic if my compiled binaries are
> behaving properly while yours are not...
>
> 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 Fri 10 Nov 2017 - 15:29:40 EST

This archive was generated by hypermail 2.2.0 : Sat 11 Nov 2017 - 06:27:24 EST