Re: XML completion module version 0.3

From: phayz <russelldicken....at.gmail.com>
Date: Wed, 12 May 2010 23:12:47 -0700 (PDT)

On May 13, 3:45 pm, Brian Schott <briancsch....at.gmail.com> wrote:
> http://www.youtube.com/watch?v=DSAinGsc7dA
>
> This is what it's supposed to look like. (Not a rickroll.)
>
> - Brian
>
> On 05/12/10 21:09, phayz wrote:
>
>
>
>
>
> > Brian,
> > I may have said it before but here it is again - thankyou! I wonder
> > what you have changed in this version?
>
> > I get confused by the use of multiple carets so I actually "dumb down"
> > your functions. In my hypertext commands.lua file, only the following
> > commands remain active:
>
> >            ['cs\n'] = {completeClosingTag},
> >            ['<'] = {autoTag},
>
> > This gives me what I want - I get the matching tag inserted when I
> > press the closing '>' and I can get the closing tag inserted if I
> > haven't just typed an opening tag with the key sequence Control+Shift
> > +N. Can you explain the advantages of your full function? When I
> > enable multiple carets I can't seem to get the correct key sequence to
> > avoid having unwanted characters inserted. I assume I'm using your
> > function the wrong way.
>
> > Regards,
>
> > Russell Dickenson

Brian,

I still don't quite understand the advantage of the multiple carets
approach. Of course the opening and closing tags are completed at the
same time, but I can't see how this is quicker than waiting for the
opening tag to be closed, then inserting the matching closing tag.
Using the type-the-closing-then-insert-closing-tag would, I believe,
allow for the option of saying "OK, you've entered an <img> tag, which
doesn't have a closing tag, so I'll add the necessary "/", also the
same for the <br> tag, which would be "converted" to <br />.

Regards,

Russell Dickenson

-- 
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to textadept.at.googlegroups.com.
To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
Received on Thu 13 May 2010 - 02:12:47 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:45:40 EST