Re: XML completion module version 0.3

From: Brian Schott <briancsch....at.gmail.com>
Date: Wed, 12 May 2010 23:45:12 -0700

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
>
>

-- 
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:45:12 EDT

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