Remove invisibles handling from TokenizedBuffer

This commit is contained in:
Antonio Scandurra
2016-03-18 14:06:46 +01:00
parent d666e4c008
commit d1306ae944
4 changed files with 12 additions and 28 deletions

View File

@@ -5837,8 +5837,7 @@ describe "TextEditor", ->
it "ignores invisibles even if editor.showInvisibles is true", ->
atom.config.set('editor.showInvisibles', true)
invisibles = editor.tokenizedLineForScreenRow(0).invisibles
expect(invisibles).toBe(null)
expect(editor.lineTextForScreenRow(0).indexOf(atom.config.get('editor.invisibles.eol'))).toBe(-1)
describe "when the editor is constructed with the grammar option set", ->
beforeEach ->