Add Editor.setShowInvisibles and remove showInvisibles from EditSession

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-10-18 14:10:36 -07:00
parent ae0a60f4a9
commit a72d0399f7
5 changed files with 22 additions and 21 deletions

View File

@@ -38,9 +38,8 @@ class EditSession
tabLength: null
softTabs: true
softWrap: false
showInvisibles: false
constructor: ({@project, @buffer, @tabLength, @autoIndent, @softTabs, @softWrap, @showInvisibles}) ->
constructor: ({@project, @buffer, @tabLength, @autoIndent, @softTabs, @softWrap }) ->
@id = @constructor.idCounter++
@softTabs ?= true
@languageMode = new LanguageMode(this, @buffer.getExtension())