mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix soft wrapping when editorWidthInChars is used
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user