equal
deleted
inserted
replaced
158 |
158 |
159 func = "" |
159 func = "" |
160 if opts.showfunc: |
160 if opts.showfunc: |
161 # walk backwards from the start of the context |
161 # walk backwards from the start of the context |
162 # to find a line starting with an alphanumeric char. |
162 # to find a line starting with an alphanumeric char. |
163 for x in xrange(astart, -1, -1): |
163 for x in xrange(astart - 1, -1, -1): |
164 t = l1[x].rstrip() |
164 t = l1[x].rstrip() |
165 if funcre.match(t): |
165 if funcre.match(t): |
166 func = ' ' + t[:40] |
166 func = ' ' + t[:40] |
167 break |
167 break |
168 |
168 |