#NEWLINE# def is_skip( self , context , disabled_syntaxes , min_pattern_length , max_pattern_length , input_pattern ) : #NEWLINE# #INDENT# if ( ( 'syntax_name' in context ) and ( context [ 'syntax_name' ] in disabled_syntaxes ) ) : #NEWLINE# #INDENT# return 1 #NEWLINE# #UNINDENT# if ( ( input_pattern != '' ) and re . search ( ( disabled_syntaxes + '$' ) , context [ 'input' ] ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# skip_length = ( ( context [ 'event' ] != 'Manual' ) and ( not ( min_pattern_length <= len ( context [ 'complete_str' ] ) <= max_pattern_length ) ) ) #NEWLINE# return skip_length