Style color of folded line numbers

This commit is contained in:
Kevin Sawicki
2013-01-30 11:48:58 -08:00
parent 4db876aed1
commit 8dbcefa932
6 changed files with 36 additions and 5 deletions

View File

@@ -1730,6 +1730,11 @@ describe "Editor", ->
fold.destroy()
expect(editor.gutter.find('.line-number').length).toBe 13
it "styles folded line numbers", ->
editor.createFold(3, 5)
expect(editor.gutter.find('.line-number.fold').length).toBe 1
expect(editor.gutter.find('.line-number.fold:eq(0)').text()).toBe '4'
describe "when the scrollView is scrolled to the right", ->
it "adds a drop shadow to the gutter", ->
editor.attachToDom()