mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Don’t allow soft wrap to be enabled in large file mode
This commit is contained in:
@@ -445,7 +445,10 @@ class DisplayBuffer extends Model
|
||||
@isSoftWrapped()
|
||||
|
||||
isSoftWrapped: ->
|
||||
@softWrapped ? @configSettings.softWrap ? false
|
||||
if @largeFileMode
|
||||
false
|
||||
else
|
||||
@softWrapped ? @configSettings.softWrap ? false
|
||||
|
||||
# Set the number of characters that fit horizontally in the editor.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user