Update highlighted line when editor selection changes

This commit is contained in:
Kevin Sawicki
2012-10-01 15:19:25 -07:00
parent c7361d487f
commit 41cdf130fb
2 changed files with 2 additions and 1 deletions

View File

@@ -344,6 +344,7 @@ class Editor extends View
@gutter.addClass('drop-shadow')
@on 'cursor-move', => @highlightCursorLine()
@on 'editor-selection-change', => @highlightCursorLine()
selectOnMousemoveUntilMouseup: ->
moveHandler = (e) => @selectToScreenPosition(@screenPositionFromMouseEvent(e))