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

@@ -198,13 +198,13 @@ class DisplayBuffer extends Model
setVerticalScrollbarWidth: (@verticalScrollbarWidth) -> @verticalScrollbarWidth
getHeight: ->
@height or 0
@height
setHeight: (@height) ->
@height
getWidth: ->
@width or 0
@width
setWidth: (newWidth) ->
oldWidth = @width