OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin,

[ Lists Home | Date Index | Thread Index ]

I think the tricky part comes when the user jumps (mouse, keyboard action)
to another part of the document - where/how do you pick up the context?
where and how do you save the current context?

This is more then an idle response - if anyone has good ideas for coping
with that, i'd be very interested.

Dave LeBlanc

> -----Original Message-----
> From: Michael Kay [mailto:michael.h.kay@ntlworld.com]
> Sent: Monday, January 28, 2002 13:03
> To: 'Paul Prescod'; xml-dev@lists.xml.org
> Subject: RE: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN:
> XML Origin, the XML Editor & XSLT Debugger Released)
>
>
> > 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.
>
> Surely an XML editor has to detect start tags and end tags as they are
> typed, and if it detects start tags, it is trivially easy to maintain a
> stack of open start tags? And the cost of doing so is unrelated
> to the size
> of the document (only to the depth of nesting)?
>
> Mike Kay
>
>
> -----------------------------------------------------------------
> 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>
>
>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS