#NEWLINE# @ classmethod #NEWLINE# def draw( cls , view , regions ) : #NEWLINE# #INDENT# if ( regions is None ) : #NEWLINE# #INDENT# cls . clear ( ) #NEWLINE# return #NEWLINE# #UNINDENT# flags = 0 #NEWLINE# flags = sublime . DRAW_NO_OUTLINE #NEWLINE# scope = [ 'text' , SelectionPreview . KEY ] #NEWLINE# if ( flags == sublime . DRAW_NO_OUTLINE ) : #NEWLINE# #INDENT# scope . append ( 'fill' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( flags == sublime . DRAW_NO_FILL ) : #NEWLINE# #INDENT# scope . append ( 'outline' ) #NEWLINE# #UNINDENT# #UNINDENT# view . add_regions ( SelectionPreview . KEY , regions , '.' . join ( scope ) , '' , cls ) #NEWLINE# SelectionHelper . scroll_into_view ( view , regions )