diff --git a/spec/app/editor-spec.coffee b/spec/app/editor-spec.coffee index d8eb7a744..e666cc1e6 100644 --- a/spec/app/editor-spec.coffee +++ b/spec/app/editor-spec.coffee @@ -1596,7 +1596,7 @@ describe "Editor", -> expect(miniEditor.find('.line.cursor-line').length).toBe 0 - describe "gutter line highlighting", -> + fdescribe "gutter line highlighting", -> beforeEach -> editor.attachToDom(heightInLines: 5.5) diff --git a/src/app/gutter.coffee b/src/app/gutter.coffee index 026d1d41f..12b65f957 100644 --- a/src/app/gutter.coffee +++ b/src/app/gutter.coffee @@ -41,16 +41,11 @@ class Gutter extends View cursorScreenRow = @editor().getCursorScreenPosition().row @lineNumbers[0].innerHTML = $$$ -> for row in rows - rowClass = 'line-number' - rowValue = null - if row == lastScreenRow rowValue = '•' else rowValue = row + 1 - rowClass += ' cursor-line-number' if row == cursorScreenRow - - @div {class: rowClass}, rowValue + @div {class: 'line-number'}, rowValue lastScreenRow = row @calculateWidth()