Add toggleSoftWrap and toggleSoftTabs

This commit is contained in:
Corey Johnson
2014-06-09 16:10:29 -07:00
parent 5288666bfc
commit a227ed7586

View File

@@ -176,6 +176,12 @@ class ReactEditorView extends View
setShowInvisibles: (showInvisibles) ->
@component.setShowInvisibles(showInvisibles)
toggleSoftWrap: ->
@editor.toggleSoftWrap()
toggleSoftTabs: ->
@editor.toggleSoftTabs()
getText: ->
@editor.getText()