#NEWLINE# def get_checkbox( self , line ) : #NEWLINE# #INDENT# view = self . view #NEWLINE# ( row , _ ) = view . rowcol ( line . begin ( ) ) #NEWLINE# content = view . substr ( line ) #NEWLINE# match = self . checkbox_regex . search ( content ) #NEWLINE# if ( not match ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# ( col_start , col_stop ) = match . span ( ) #NEWLINE# return sublime . Region ( view . text_point ( row , col_start ) , view . text_point ( row , col_stop ) )