mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Add a cursor-line decoration to the gutter
This commit is contained in:
@@ -1263,6 +1263,7 @@ class Editor extends Model
|
||||
addCursor: (marker) ->
|
||||
cursor = new Cursor(editor: this, marker: marker)
|
||||
@cursors.push(cursor)
|
||||
@addDecorationForMarker(marker, {class: 'cursor-line'})
|
||||
@emit 'cursor-added', cursor
|
||||
cursor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user