@@ -32,15 +32,15 @@ endfunction "}}}
3232fun ! pymode#motion#select (pattern, inner) " {{{
3333 let cnt = v: count1 - 1
3434 let orig = getpos (' .' )[1 :2 ]
35- let snum = s: BlockStart (orig[0 ], a: pattern )
35+ let snum = pymode#motion# BlockStart (orig[0 ], a: pattern )
3636 if getline (snum) !~ a: pattern
3737 return 0
3838 endif
39- let enum = s: BlockEnd (snum, indent (snum))
39+ let enum = pymode#motion# BlockEnd (snum, indent (snum))
4040 while cnt
4141 let lnum = search (a: pattern , ' nW' )
4242 if lnum
43- let enum = s: BlockEnd (lnum, indent (lnum))
43+ let enum = pymode#motion# BlockEnd (lnum, indent (lnum))
4444 call cursor (enum , 1 )
4545 endif
4646 let cnt = cnt - 1
@@ -58,7 +58,7 @@ fun! pymode#motion#select(pattern, inner) "{{{
5858endfunction " }}}
5959
6060
61- fun ! s: BlockStart (lnum, ... ) " {{{
61+ fun ! pymode#motion# BlockStart (lnum, ... ) " {{{
6262 let pattern = a: 0 ? a: 1 : ' ^\s*\(@\|class\s.*:\|def\s\)'
6363 let lnum = a: lnum + 1
6464 let indent = 100
@@ -82,7 +82,7 @@ fun! s:BlockStart(lnum, ...) "{{{
8282endfunction " }}}
8383
8484
85- fun ! s: BlockEnd (lnum, ... ) " {{{
85+ fun ! pymode#motion# BlockEnd (lnum, ... ) " {{{
8686 let indent = a: 0 ? a: 1 : indent (a: lnum )
8787 let lnum = a: lnum
8888 while lnum
0 commit comments