[
Lists Home |
Date Index |
Thread Index
]
Nicolas LEHUEN wrote:
>
> Regarding auto-completion, on this screen-shot :
>
> http://www.xmlorigin.com/images/screen/screen2.gif
>
> We can see that when typing '</', a list of tags to be closed is proposed.
> This is not required. At any moment, in an XML document, there is only one
> tag to be closed, the last opened one.
I'll point out that Komodo behaves as you wish. I know why others don't,
however. Implementing it efficiently is not easy if you want it to work
well with large documents. You either have to parse from the top or
parse backwards from where you are, counting open and close tags,
watching out for CDATA sections.
Paul Prescod
|