mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Remove debug logging
This commit is contained in:
parent
2c5ae6e553
commit
6a34d58ff4
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user