On 7/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> ----- Original Message -----
> From: Fabio Zadrozny <[EMAIL PROTECTED]>
> Date: Monday, July 11, 2005 5:19 pm
> Subject: Re: parentheses autocompletion [WAS: Re: tiny PyDev javadoc patch 
> (and ideas for another one)]
> 
> > To make the match, take a look at
> > org.python.copiedfromeclipsesrc.PythonPairMatcher.
> 
> Ah, thanks.  I'll see what I can do with that.
> 
> > As for the colon,
> > you should check only if there is a colon in the next
> > char, and
> > not in
> > the whole line, I can think of cases with comments, e.g.:
> > class A:
> > pass #.... : ... or even code, e.g.: if debugToggle == 0:
> > lambda a:10;
> > x = 20 (that would not do anything, but it is valid
> > code)...
> 
> Yes, good point.  I just fixed that.  It can now checks the next character 
> (should I care about new lines?).




Not really, only document length...




> 
> > When I do things like that, with many variables, but
> > fairly simple in
> > the end, I like to do unit-tests, so, if you feel like doing
> > it, you
> > can check
> > org.python.pydev.editor.PyAutoIndentStrategyTest for
> > tests on the current things and extend it.
> 
> Oh, yes.  I'm a fan of unit tests myself, and I'm using unit tests already.
> 
> Take care, and thanks.  I'll send you something once I feel comfortable 
> sending it to you.
> 


Waiting forward to see it... :-)

p.s. I'm also forwarding it to the pydev mailing list

Cheers,

Fabio
>


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to