Merge branch 'master' into ns-switch-to-display-layers

# Conflicts:
#	src/text-editor.coffee
This commit is contained in:
Antonio Scandurra
2016-04-26 10:19:39 +02:00
14 changed files with 93 additions and 817 deletions

View File

@@ -1186,14 +1186,10 @@ describe "TextEditor", ->
cursor2 = editor.addCursorAtBufferPosition([1, 4])
expect(cursor2.marker).toBe cursor1.marker
describe '.logCursorScope()', ->
beforeEach ->
spyOn(atom.notifications, 'addInfo')
it 'opens a notification', ->
editor.logCursorScope()
expect(atom.notifications.addInfo).toHaveBeenCalled()
describe '.getCursorScope()', ->
it 'returns the current scope', ->
descriptor = editor.getCursorScope()
expect(descriptor.scopes).toContain('source.js')
describe "selection", ->
selection = null