#NEWLINE# def load_state( self ) : #NEWLINE# #INDENT# '\n        Load project state from global settings file into windows\n\n        This method should also start the save state interval\n        ' #NEWLINE# if Settings ( ) . get ( 'allow_project_restoration' ) : #NEWLINE# #INDENT# project_data = Settings ( ) . get_global ( 'project_data' ) #NEWLINE# if self : #NEWLINE# #INDENT# for window in sublime . windows ( ) : #NEWLINE# #INDENT# if ( str ( window . id ( ) ) in project_data ) : #NEWLINE# #INDENT# window . set_project_data ( project_data [ str ( window . id ( ) ) ] ) #NEWLINE# Logger ( ) . debug ( ( 'Restore project data on window %s' % str ( window . id ( ) ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . loaded = True #NEWLINE# self . save_state ( repeat = True )