Fix soft wrapping when editorWidthInChars is used

This commit is contained in:
Antonio Scandurra
2015-09-23 15:24:35 +02:00
parent fffcfb3405
commit b198acc995
4 changed files with 22 additions and 6 deletions

View File

@@ -554,6 +554,10 @@ class TextEditor extends Model
setEditorWidthInChars: (editorWidthInChars) ->
@displayBuffer.setEditorWidthInChars(editorWidthInChars)
# Returns the editor width in characters.
getEditorWidthInChars: ->
@displayBuffer.getEditorWidthInChars()
###
Section: File Details
###