From d1c14e4f39dc0915cd6f226e2ab50e513f5f1ed5 Mon Sep 17 00:00:00 2001 From: Wliu Date: Tue, 7 Feb 2017 09:17:09 -0500 Subject: [PATCH] Remove un-necessary mini checks when initializing In addition, the boolean check I added for softWrapColumn was incorrect. --- src/text-editor.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text-editor.coffee b/src/text-editor.coffee index 756af23f0..505e8fdec 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -169,8 +169,8 @@ class TextEditor extends Model unless @displayLayer? displayLayerParams = { invisibles: @getInvisibles(), - softWrapColumn: not @isMini() and @getSoftWrapColumn(), - showIndentGuides: not @isMini() and @doesShowIndentGuide(), + softWrapColumn: @getSoftWrapColumn(), + showIndentGuides: @doesShowIndentGuide(), atomicSoftTabs: params.atomicSoftTabs ? true, tabLength: tabLength, ratioForCharacter: @ratioForCharacter.bind(this),