Don’t allow soft wrap to be enabled in large file mode

This commit is contained in:
Nathan Sobo
2015-06-05 21:36:11 +02:00
parent 639647d115
commit efd4662de0

View File

@@ -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.
#