mirror of
https://github.com/atom/atom.git
synced 2026-02-06 12:44:59 -05:00
Add toggleSoftWrap and toggleSoftTabs
This commit is contained in:
@@ -176,6 +176,12 @@ class ReactEditorView extends View
|
||||
setShowInvisibles: (showInvisibles) ->
|
||||
@component.setShowInvisibles(showInvisibles)
|
||||
|
||||
toggleSoftWrap: ->
|
||||
@editor.toggleSoftWrap()
|
||||
|
||||
toggleSoftTabs: ->
|
||||
@editor.toggleSoftTabs()
|
||||
|
||||
getText: ->
|
||||
@editor.getText()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user