ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
RE: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin, the XML Editor & XSLT Debugger Released)
by David LeBlanc other posts by this author
Jan 28 2002 9:47PM messages near this date
Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin, the XML Editor & XSLT Debugger Released) | Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin, the XML Editor & XSLT Debugger Released)
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@[...].com]
>  Sent: Monday, January 28, 2002 13:03
>  To: 'Paul Prescod'; xml-dev@[...].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>
> 
> 


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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved