On Montag, 12. Januar 2009, Geert Vancompernolle wrote: > Hi Detlev, > > Thanks for adding the "def" dedent functionality. I just tried it out > for the "def " within a class and that's working fine (so, the moment > you put a space after "def", the location is corrected if needed). > However, when I start a "def " at the very first column (because I want > an "isolated" function, not belonging to a class), it also jumps 4 > spaces to the right. Like this, it seems as if it's part of the class > and that was not the intention of my proposal.
Seems I missed a case. Fixed already. Just append the following to lines 327 and 329 of PythonCompleter.py and edInd < indentation Regards, Detlev > > What I proposed earlier (see this message: > http://article.gmane.org/gmane.comp.ide.eric/1472), was to keep the > column at 1, if the user really wants to start at location 1 and only > perform the "def" dedent if the "def" is part of a class. > > Can you still modify this behaviour? > > Tnx. in advance. > > Detlev Offenbach wrote: > > Hi, > > > > a new snapshot of the eric 4.3 development is available via > > http://sourceforge.net/project/showfiles.php?group_id=119070&package_id=3 > >00692. Here is the changelog. > > > > - changed PyCoverage to use coverage.py v2.85 > > - added a "dedent def" to the Python typing completer > > > > Please note, that this release may be taken as the first release > > candidate. Please give it a try and report all problems via the built in > > reporting dialog (Help menu). > > > > Regards, > > Detlev -- Detlev Offenbach [email protected] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
