Re: XML completion module version 0.3

From: phayz <russelldicken....at.gmail.com>
Date: Thu, 13 May 2010 23:16:08 -0700 (PDT)

On May 13, 4:45 pm, Brian Schott <briancsch....at.gmail.com> wrote:
> I wrote it this way mostly due to some of my human factors background.
> With the multiple cursors there is a more direct mapping from the keys
> pressed on the keyboard and the characters that appear in the text
> buffer. If I only auto-close on the > character being closed, a bunch of
> characters just appear in the buffer all at once.
>
> That being said, I do see how this is in some way a matter of personal
> preference. You'll probably want to use the completeClosingTagBracket
> function bound to the > character.
>
> On 05/12/10 23:12, phayz wrote:
>
>
>
>
>
> > 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

OK, now I understand. I agree that some people be a little surprised,
and unpleasantly so, with a closing tag suddenly appearing. I will
again test the new version of the XML completion script and see if I
can "get it right" - i.e. get tag completion working without my
bungling typing interfering with the function's good work.

Regarding the ZenCoding function, this idea is simply amazing. I have
seen it in action in other editors, of course, and it must excite
anyone who deals often with HTML. I haven't yet been game to try it,
since I already struggle with getting existing tags correct! In other
words, I think you need to be sure of your expected result before
using any form of automation, otherwise you can't do any form of
sanity checking.

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 Fri 14 May 2010 - 02:16:08 EDT

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