I'm not at all tempted (binding). VBG. Page scroll and a steady eye on the left margin works well for my current purposes. However, I am surprised such a feature doesn't exist.


W W wrote:
On Sat, Jan 24, 2009 at 7:06 AM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote:
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.


Presuming, of course, that your def statement is followed by another, finding the "next" def would get you there.

Other than that... you may just have to figure out how to write your own bindings.
HTH,
Wayne

--
Signature.html
           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

Reply via email to