If you are familiar with vi and C, one could enter a simple keystroke
and jump from an opening paren to the corresponding closing one. I've long forgotten most of C, but here's a rough segment of a program: main() ( while (x ==True) ( a =5; ) ... ) If your cursor was on the second "(", pressing a key would take you to the third one. I want something like it for def. Where's the end of the def. Some def blocks are so long it's almost impossible to find where they end. spir wrote: Le Fri, 23 Jan 2009 22:25:05 -0800, Wayne Watson <sierra_mtnv...@sbcglobal.net> a écrit :I'm using pythonWin. Is there some way to skip from the start of a def to the end? How about any similar indentation?Sorry, I don't understand what you wish... Do you mean while parsing a source code file? Denis ------ la vida e estranya --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time) Copper and its alloys have been found effective in hospital sinks, hand rails, beds, ... in significantly reducing bacteria. Estimates are 1/20 people admitted to a hospital become infected, and 1/20 die from the infection. -- NPR Science Friday, 01/16/2009 Web Page: <www.speckledwithstars.net/> |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor