def select_bracket_style(option, minimap):
 style = 0
 if (not minimap):
  style |= sublime.HIDE_ON_MINIMAP
 if (option == 'outline'):
  style |= sublime.DRAW_NO_FILL
 elif (option == 'none'):
  style |= sublime.HIDDEN
 elif (option == 'underline'):
  style |= sublime.DRAW_EMPTY_AS_OVERWRITE
 elif (option == 'thin_underline'):
  style |= sublime.DRAW_NO_FILL
  style |= sublime.DRAW_NO_OUTLINE
  style |= sublime.DRAW_SOLID_UNDERLINE
 elif (option == 'squiggly'):
  style |= sublime.DRAW_NO_FILL
  style |= sublime.DRAW_NO_OUTLINE
  style |= sublime.DRAW_SQUIGGLY_UNDERLINE
 elif (option == 'stippled'):
  style |= sublime.DRAW_NO_FILL
  style |= sublime.DRAW_NO_OUTLINE
  style |= sublime.DRAW_STIPPLED_UNDERLINE
 return style

def select_bracket_style ( option , minimap ) : style = 0 if ( not minimap ) : style |= sublime . HIDE_ON_MINIMAP if ( option == 'outline' ) : style |= sublime . DRAW_NO_FILL elif ( option == 'none' ) : style |= sublime . HIDDEN elif ( option == 'underline' ) : style |= sublime . DRAW_EMPTY_AS_OVERWRITE elif ( option == 'thin_underline' ) : style |= sublime . DRAW_NO_FILL style |= sublime . DRAW_NO_OUTLINE style |= sublime . DRAW_SOLID_UNDERLINE elif ( option == 'squiggly' ) : style |= sublime . DRAW_NO_FILL style |= sublime . DRAW_NO_OUTLINE style |= sublime . DRAW_SQUIGGLY_UNDERLINE elif ( option == 'stippled' ) : style |= sublime . DRAW_NO_FILL style |= sublime . DRAW_NO_OUTLINE style |= sublime . DRAW_STIPPLED_UNDERLINE return style
configure style of region based on option .