Add a cursor-line decoration to the gutter

This commit is contained in:
Ben Ogle
2014-06-06 15:46:13 -07:00
parent 312901ff68
commit 13be8d5139

View File

@@ -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