From 13be8d5139e05146a836fc51309f2936bfbb175c Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 6 Jun 2014 15:46:13 -0700 Subject: [PATCH] Add a cursor-line decoration to the gutter --- src/editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor.coffee b/src/editor.coffee index f01d1ec46..e2e314a4e 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -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