mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Deprecate EditorView::setSoftWrap
This commit is contained in:
@@ -306,10 +306,8 @@ class EditorView extends View
|
||||
setShowIndentGuide: (showIndentGuide) ->
|
||||
@component.setShowIndentGuide(showIndentGuide)
|
||||
|
||||
# Public: Enables/disables soft wrap on the editor.
|
||||
#
|
||||
# * `softWrap` A {Boolean} which, if `true`, enables soft wrap
|
||||
setSoftWrap: (softWrap) ->
|
||||
deprecate 'Use Editor::setSoftWrap instead. You can get the editor via editorView.getModel()'
|
||||
@editor.setSoftWrap(softWrap)
|
||||
|
||||
# Public: Set whether invisible characters are shown.
|
||||
|
||||
Reference in New Issue
Block a user