Re: [textadept] Textadept 5.0 alpha

From: Robert <ro....at.web.de>
Date: Thu, 5 Jan 2012 18:49:33 +0100

Brian,

On Thu, Jan 5, 2012 at 5:25 PM, mitchell <c....at.caladbolg.net> wrote:
> Brian,
>
>
> On Wed, 4 Jan 2012, Brian Schott wrote:
>
>> On Wed, Jan 4, 2012 at 5:26 AM, mitchell <c....at.caladbolg.net> wrote:
>>>
>>> It probably has to do with the the focus on the Scintilla widget is lost
>>> temporarily and then restored. SCEN_SETFOCUS is emitted and goto_view()
>>> is
>>> called in textadept.c's s_command(). Is it causing you problems?
>>
>>
>> I was using that event (along with BUFFER_AFTER_SWITCH and
>> FILE_AFTER_SAVE) to make sure that the completions currently loaded in
>> the adeptsense object were up-to-date with the focused buffer. Seeing
>> it triggered on window moves and resizes was unexpected. Even with
>> luajit reloading the completion information can take several
>> milliseconds. The bottleneck is parsing the JSON output of my source
>> code scanning tool and loading it into the completions table.
>
>
> I will explore this.
>

have you considered to directly output Lua tables (optionally, of
course) ? If the bottleneck is the JSON parsing, this might be worth a
test.

Robert
Received on Thu 05 Jan 2012 - 12:49:33 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:27:41 EST