mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04: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