mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
💄 Remove comment for removed parameter
This commit is contained in:
@@ -911,11 +911,9 @@ class Editor extends View
|
||||
calcSoftWrapColumn: ->
|
||||
Math.floor(@scrollView.width() / @charWidth)
|
||||
|
||||
# Sets the soft wrap column for the editor.
|
||||
# Enables/disables soft wrap on the editor.
|
||||
#
|
||||
# softWrap - A {Boolean} which, if `true`, sets soft wraps
|
||||
# softWrapColumn - A {Number} indicating the length of a line in the editor when soft
|
||||
# wrapping turns on
|
||||
# softWrap - A {Boolean} which, if `true`, enables soft wrap
|
||||
setSoftWrap: (softWrap) ->
|
||||
if softWrap
|
||||
@addClass 'soft-wrap'
|
||||
|
||||
Reference in New Issue
Block a user