Remove debug logging

This commit is contained in:
Kevin Sawicki 2014-02-18 19:20:36 -08:00
parent 2c5ae6e553
commit 6a34d58ff4

View File

@ -19,9 +19,6 @@ class Cursor
# Instantiated by an {Editor}
constructor: ({@editor, @marker}) ->
unless @editor.mini
console.log 'adding cursor', @marker.id
@updateVisibility()
@marker.on 'changed', (e) =>
@updateVisibility()
@ -29,9 +26,6 @@ class Cursor
{oldHeadBufferPosition, newHeadBufferPosition} = e
{textChanged} = e
unless @editor.mini
console.log 'marker changed', @editor.getCursorBufferPosition(), @marker.id
return if oldHeadScreenPosition.isEqual(newHeadScreenPosition)
@needsAutoscroll ?= @isLastCursor() and !textChanged
@ -47,7 +41,6 @@ class Cursor
@emit 'moved', movedEvent
@editor.emit 'cursor-moved', movedEvent
@marker.on 'destroyed', =>
console.log 'destroyed'
@destroyed = true
@editor.removeCursor(this)
@emit 'destroyed'