[Tutor] Finding the End of a Def?
Alan Gauld
alan.gauld at btinternet.com
Sat Jan 24 12:43:00 CET 2009
"Wayne Watson" <sierra_mtnview at sbcglobal.net> wrote
> I'm using pythonWin.
> Is there some way to skip from the start of a def to the end?
That doesn't seem to be supported.
The documentation is found in the help structure under
PyWin32 Documentation
-Pythonwin and win32ui
-Overviews
-Keyboard Bindings
If using Pythonwin keyboard commands you should look at the docs for
the underlying editing widget Scintilla:
http://www.scintilla.org/SciTEDoc.html
That reveals quite a number of extra navigation commands.
The nearest to what you want is next paragraph (Ctr-] )
Pythonwin does modify a few of the standard commands
so you need to look in the Pythonwin help first then at Scintilla.
But I'm surprised there are no block movement commands
given Scintilla's primary goal of supporting programmers
You can of couse use the folding feature to speed navigation between
functions etc... Keypad * will fold/unfold everything...
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list