mirror of
https://github.com/atom/atom.git
synced 2026-02-08 05:35:04 -05:00
Update highlighted line when editor selection changes
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user