#NEWLINE# @ remember_curr_pos #NEWLINE# @ parse_current_buffer #NEWLINE# def goto_next_sibling( self ) : #NEWLINE# #INDENT# 'To move the cursor to the next sibling node.' #NEWLINE# node = self . parser . get_current_node ( ) #NEWLINE# if ( node and node . parent ) : #NEWLINE# #INDENT# ch = node . parent . children #NEWLINE# for ( i , c ) in enumerate ( ch ) : #NEWLINE# #INDENT# if ( ( c . start == node . start ) and ( c . end == node . end ) and ( ( i + 1 ) < len ( ch ) ) ) : #NEWLINE# #INDENT# ( row , col ) = ch [ ( i + 1 ) ] . start #NEWLINE# if ( not settings . get ( 'jump_to_angle_bracket' , bool ) ) : #NEWLINE# #INDENT# col += 1 #NEWLINE# #UNINDENT# v . cursor ( ( row , col ) )