[Twisted-web] DOM manipulation in an athena widget

Cory Dodt corydodt at gmail.com
Mon Oct 9 13:29:35 CDT 2006

Really?  The syntax highlighting works for me using Vim 7.  Now if I could
only find syntax folding for Javascript.


On 10/2/06, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
> Jean-Paul Calderone wrote:
> >
> > I wonder why you chose to make those three functions free instead of
> > methods of your widget class?
> Conceptually, one might have multiple different widgets wanting the
> editable span functionality which cannot easily share a base class, and
> also since I'm told Athena does very little client-side DOM work, to
> separate out the athena-specific code from the client-side DOM code.
> But it would have worked just as well on the widget.
> Third reason - VIMs syntax highlighting fails for encapsulated functions
> but works for bare ones :o)
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20061009/610d11db/attachment.htm

More information about the Twisted-web mailing list