From 42dda1a771a2a625a910253f61a102ef8cd4aa0c Mon Sep 17 00:00:00 2001 From: Wliu <50Wliu@users.noreply.github.com> Date: Mon, 6 Feb 2017 22:40:00 -0500 Subject: [PATCH] Disable soft wrap on mini editors --- src/text-editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor.coffee b/src/text-editor.coffee index 10a6c9783..af9b7a341 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -169,7 +169,7 @@ class TextEditor extends Model unless @displayLayer? displayLayerParams = { invisibles: @getInvisibles(), - softWrapColumn: @getSoftWrapColumn(), + softWrapColumn: not @isMini() and @getSoftWrapColumn(), showIndentGuides: not @isMini() and @doesShowIndentGuide(), atomicSoftTabs: params.atomicSoftTabs ? true, tabLength: tabLength,