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