<s> import sublime_plugin <EOL> import sublime <EOL> from . . command_helper . update_current_view_json import update_current_view_index <EOL> class DetectViewChange ( sublime_plugin . EventListener ) : <EOL> def on_activated ( self , view ) : <EOL> message = update_current_view_index ( view ) <EOL> if message : <EOL> sublime . status_message ( message ) </s>
