Re: [code] [textadept] Textadept 11.0 alpha

From: Robert Gieseke <rob.g.att.web.de>
Date: Thu, 2 Apr 2020 13:14:45 +0200

On 02.04.20 12:46, Robert Gieseke wrote:
> One question, right now i have to load Textredux as
>
> events.connect(events.INITIALIZED, function()
> local textredux = require("textredux")
> textredux.hijack()
> keys.cg = textredux.ctags.goto_symbol
> end)
>
> Previously it wasn't necessary to wrap this in an event, i found a
> section in the manual "Those types of function calls must occur within
> functions (e.g. in a key binding, menu item, or events.INITIALIZED event
> handler)." - but was just curious what has changed?
>
> I think i remember that it was necessary to load Textredux like this and
> then it wasn't anymore at some point ... most likely i can handle the
> event also inside of Textredux.

Found the commit in Textredux:

https://github.com/rgieseke/textredux/commit/31dc9d5fd532a3b1d0b69ee483f4c56e22c88a1e

So i guess this was a change in TA7?

Cheers
Robert

-- 
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 Thu 02 Apr 2020 - 07:14:45 EDT

This archive was generated by hypermail 2.2.0 : Fri 03 Apr 2020 - 06:28:54 EDT