Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin,
the XML Editor & XSLT Debugger Released)
by Marcus Carr other posts by this author
Jan 28 2002 10:03PM messages near this date
Re: [xml-dev] Re: Auto-completion in editors
|
Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML
Origin, the XML Editor & XSLT Debugger Released)
Nicolas LEHUEN wrote:
> 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.
Why? Because you feel that as a document has to be well-formed when you deliver
it somewhere, you have to create it in order? I'd far sooner type in the end tag
of a distant ancestor and have the application fill in the missing end tags. In
fact, I'd really like to just put in the start tag for the sibling of the
distant ancestor, but that requires SGML, so I'd need to fiddle the DTD, write a
normaliser and use any old text editor I like. What a hassle. It makes me wonder
why I do it so often.
> It's not specific to XML Origin, XML Spy makes the same mistake, while
> Excelon Stylus does not : as soon as you type '</' in Stylus, the previously
> opened tag is automatically closed, and the cursor moved at the end of the
> closing tag. It saves a lot of typing.
Not enough for me.
--
Regards,
Marcus Carr email: mrc@[...].au
___________________________________________________________________
Allette Systems (Australia) www: http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
- Einstein
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Nicolas LEHUEN
Rick Jelliffe
Sean McGrath
Paul Prescod
Rick Jelliffe
Tim Bray
Andrzej Jan Taramina
Mike Champion
Marcus Carr
Paul Prescod
Christian Nentwich
Paul Prescod
Michael Kay
Paul Prescod
David LeBlanc
Rick Jelliffe
Jeff Rafter
Jason Diamond
Dare Obasanjo
Michael Kay
Tim Bray
Dare Obasanjo
Dare Obasanjo
|