diff --git a/src/editor-view.coffee b/src/editor-view.coffee index ffd09dd92..2a28b6d83 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -750,11 +750,14 @@ class EditorView extends View # Returns a {String} identifying the CSS `font-family`. getFontFamily: -> @css("font-family") - # Public: Sets the line height of the editor + # Public: Sets the line height of the editor. + # + # Calling this method has no effect when called on a mini editor. # # lineHeight - A {Number} without a unit suffix identifying the CSS # `line-height`. setLineHeight: (lineHeight) -> + return if @mini @css('line-height', lineHeight) @redraw()