[texworks] Scripting Editor

Paul A Norman paul.a.norman at gmail.com
Thu Nov 11 09:35:52 CET 2010

On 11 November 2010 19:54, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Hi,
> Am 2010-11-05 08:34, schrieb Paul A Norman:
>> I was thinking of cusomising an editor I have access to the source for
>> for QtScript, then thought - what other small foot print Cross
>> platform text editor was there that would be good for eding the
>> QtScripts that could be customised.
>> Then I thought, may be I'm staring at one!
> Well, Tw would not have been the first thing I'd thought of, but of
> course you can customize the different aspects to suit scripting.

Apart from automatic hinting/ function parameter  suggestions I think
Tw actually might have it all, still thinking it through.

>> And in the syntax-patterns.txt in TeXworks/config/completion
>> Will we need a new section [QtScript] ?
> Ideally, yes. This way, people can select "QtScript" from the syntax
> highlighting menu (and don't run into weird problems with script-related
> highlighting in LaTeX).

Can we register .js and .lua and .py against appropriate sections at all?

>> Appreciate any feed back before I get to advanced on this please.
> If you want to follow through with this, I'd suggest to create templates
> as well. Copying/retyping all the header stuff gets tedious ;).

Yes I was thinking the same.

And we can make scripts and ui(s) that help make scripts :)

> Stefan

More information about the texworks mailing list