#NEWLINE# def get_object_from_line( line , prefix , column ) : #NEWLINE# #INDENT# 'Returns the object name after the prefix\n\n    ``line``   -- Text in the line where cursor is.\n    ``prefix`` -- Prefix determined by sublime.\n    ``column`` -- Index of the cursor in the line.\n    ' #NEWLINE# re_str = '(?:\\s)([^\\s]+)(?:\\.{0})$' . format ( prefix ) #NEWLINE# match = re . search ( re_str , line [ : column ] ) #NEWLINE# if match : #NEWLINE# #INDENT# return match . group ( 1 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None