[texworks] Scripting: Available script hooks

Henrik Skov Midtiby henrikmidtiby at gmail.com
Fri Mar 16 09:38:46 CET 2012


>> If there were a OnKeyPress hook, this could activate the script.
> For performance reasons, this doesn't exist at the moment.
I have only a faint idea of the cost of invoking a script, and such a
script would be activated a lot.

> I had some ideas similar to what you have in mind, but to do this
> properly, the "Autocompletion module" on the IdeasAndProjects list
> should be completed first.
It could be interesting to take a look at that task.

On 15 March 2012 20:07, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Hi,
>
> On 2012-03-15 15:41, Henrik Skov Midtiby wrote:
>> I'm considering how to make a script that can come with suggestions or
>> hints while the user enters text in the editor. The script should not
>> need to be invoked by the user, but activated by entering text in the
>> editor.
>> If there were a OnKeyPress hook, this could activate the script.
>
> For performance reasons, this doesn't exist at the moment.
> I had some ideas similar to what you have in mind, but to do this
> properly, the "Autocompletion module" on the IdeasAndProjects list
> should be completed first.
>
> Regards,
> Stefan



More information about the texworks mailing list