From 6a2c161bf21e156dbdf1b382b00c7a81a7ac76c4 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 11 Sep 2014 14:10:33 -0700 Subject: [PATCH] Deprecate setShowInvisibles --- src/editor-view.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 9c299a1cc..7617567f6 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -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: ->