Re: XML tag completion script

From: phayz <>
Date: Tue, 23 Mar 2010 19:59:06 -0700 (PDT)

On Mar 17, 1:10 pm, Brian Schott <> wrote:
> The line that says "require 'common.xmlcomplete'" is what ties the
> commands to the functions themselves. For this to work you need to place
> the xmlcomplete.lua in a location that can be found by Textadept. I put
> mine in ~/.textadept/modules/common (Thus the "common" in the require
> statement My argument being that this code is common to xml, html, and
> javadoc comments)
> - Brian
> On 03/15/10 20:00, phayz wrote:
> > I am still unsure of how I enable this script but I need to RTFM a
> > little more, also peek and poke around Textadept's directories.
> > As I understand I have a Lua script, which needs to be run when
> > certain key sequences are pressed, and the latter is where the
> > "commands.lua for xml (placed in ~/.textadept/modules/xml/
> > commands.lua)" comes into play). What I am still struggling with is
> > knowing how these two are linked.
> > Regards,
> > Russell Dickenson (AKA phayz)


You have been a great help to myself, other TA users also, I expect.
Could you please help me just a little more? I need a dummies guide to
enabling this functionality because I have tried many combinations and
permutations and just can't seem to get it right.


Russell Dickenson
Received on Tue 23 Mar 2010 - 22:59:06 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:38:52 EST