 	getSelectedElement: ->
 		el = $(@selection().getRangeAt(0).commonAncestorContainer)
 		return if el[0].nodeType == 3 then el.parent() else el
-	clearStatus: ->
-		$('.debug-status').addClass 'hidden'
-		@status.cmd = @status.ctrl = @status.alt = @status.shift = false
-	rand: (len=4)->
-		result = ''
-		result += Math.random().toString(36).substr(2,1) for i in new Array(len)
-		result.toUpperCase()
+
 	autosave: (durationInMilliseconds=5000)->
 		(update= =>
 			setTimeout =>

		$('#editor').children().first().html('<br>')
	clearTitle: ->
		$('#editor-title').html ''
	detectChanged: ->
			title = $('#editor-title').html()
			content = $('#editor').html()

			when 91
				@status.cmd = false
				$('.cmd').addClass('hidden')

	bindEditorTitleEvents:->
		$('#editor-title').on 'keydown', (e)=>
