Detrith wrote:
> If I use "vat" with the cursor on <list> it selects the "root" element
> instead of "list". The same goes for "it".
> It selects the contents of "root" and not the contents of "list" (as
> expected). I guess the problem is that the parent element's name is a
> substring of the child's name.
>
> <root>
> <list>
> <list-item>
> <p>text</p>
> </list-item>
> </list>
> </root>
I wonder if a dash inside a tag name is actually valid. In XML perhaps?
Any other characters that should be considered part of the tag name?
--
You're as much use as a condom machine at the Vatican.
-- Rimmer to Holly in Red Dwarf 'Queeg'
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php