<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm sure with a refresher on Perl, I could write code to do it.
However, I'll just use my eyes. <br>
<br>
Ricardo Aráoz wrote:
<blockquote cite="mid:497F07F9.2050503@gmail.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Wayne Watson wrote:
<blockquote cite="mid:497B29AE.9030008@sbcglobal.net" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
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. <br>
<br>
<br>
W W wrote:
<blockquote
cite="mid:333efb450901240537j5f2bf80axbcca54168fe6ffd7@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Sat, Jan 24, 2009 at 7:06 AM, Wayne
Watson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sierra_mtnview@sbcglobal.net">sierra_mtnview@sbcglobal.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">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.<br>
<br>
I've long forgotten most of C, but here's a rough segment of a program:<br>
<br>
main()<br>
(<br>
while (x ==True)<br>
(<br>
a =5;<br>
<br>
)<br>
...<br>
)<br>
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.<br>
<br>
</div>
</blockquote>
</div>
<br>
Presuming, of course, that your def statement is followed by another,
finding the "next" def would get you there.<br>
<br>
Other than that... you may just have to figure out how to write your
own bindings.<br>
HTH,<br>
Wayne<br>
</blockquote>
</blockquote>
Does your editor support regular expression search? If it does you just
look for a beginning of line followed by any non-blank character
(non-comment character too if you want to be fancy), shouldn't be too
hard to automate. For defs inside classes you look for a beginning of
line, 4 spaces (tab or 8spaces) followed by non-blank char.<br>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76"> Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099"> </font>
<b><b style="color: rgb(204, 51, 204);" class="b"> <span
style="font-family: monospace; color: rgb(153, 51, 153);"> 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
</span></b></b><b style="color: rgb(204, 51, 204);" class="b"><span
style="font-family: monospace; color: rgb(153, 51, 153);"></span></b><span
style="color: rgb(153, 51, 153);"></span><span
style="color: rgb(153, 51, 153);">
</span><span style="color: rgb(153, 51, 153);"></span><b
style="color: rgb(204, 51, 204);" class="b"><span
style="font-family: monospace;"></span></b><span
style="color: rgb(204, 51, 204);"></span> Web Page: <<a
class="moz-txt-link-abbreviated"
href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>></pre>
</div>
</body>
</html>