#NEWLINE# def scrollbind( self , enabled ) : #NEWLINE# #INDENT# if self . _current_diff_mode : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# with windows . remain ( ) : #NEWLINE# #INDENT# self . _current_scrollbind = enabled #NEWLINE# for winnr in range ( 2 , ( 2 + self . _number_of_windows ) ) : #NEWLINE# #INDENT# windows . focus ( winnr ) #NEWLINE# if enabled : #NEWLINE# #INDENT# vim . command ( 'set scrollbind' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# vim . command ( 'set noscrollbind' ) #NEWLINE# #UNINDENT# #UNINDENT# if self : #NEWLINE# #INDENT# vim . command ( 'syncbind' )