 	handleKeyUp: (e)->
 		# debug
 		$('#debug-keyup').text e.keyCode
-
 		switch e.keyCode
 			when 13
 				@divsToPs()

		@displayTitlePrompt() if @status.titleEmpty
		@displayPrompt() if @status.empty
		@bindEditorTitleEvents()
		@bindEditorEvents()
	setConnecting: (bool)->
		@status.connecting = bool
	setChanged: (bool)->

				@updateTitlePrompt(true)
			, 0

	bindAllEvents: ->
		$('#editor').on 'keydown', (e)=>
			@hideTooltip()
			@hideToolpad()
