Deprecate setShowInvisibles

This commit is contained in:
Ben Ogle
2014-09-11 14:10:33 -07:00
parent 5ef31e00a2
commit 6a2c161bf2

View File

@@ -313,10 +313,8 @@ class EditorView extends View
deprecate 'Use Editor::setSoftWrapped instead. You can get the editor via editorView.getModel()'
@editor.setSoftWrapped(softWrapped)
# Public: Set whether invisible characters are shown.
#
# * `showInvisibles` A {Boolean} which, if `true`, show invisible characters.
setShowInvisibles: (showInvisibles) ->
deprecate 'This is going away. Use atom.config.set("editor.showInvisibles", true|false) instead'
@component.setShowInvisibles(showInvisibles)
getText: ->