diff --git a/src/text-editor-component.coffee b/src/text-editor-component.coffee index 7c852aa78..53c674713 100644 --- a/src/text-editor-component.coffee +++ b/src/text-editor-component.coffee @@ -416,6 +416,9 @@ TextEditorComponent = React.createClass observeConfig: -> @subscribe atom.config.observe 'editor.useHardwareAcceleration', @setUseHardwareAcceleration + @subscribe atom.config.onDidChange 'editor.fontSize', @sampleFontStyling + @subscribe atom.config.onDidChange 'editor.fontFamily', @sampleFontStyling + @subscribe atom.config.onDidChange 'editor.lineHeight', @sampleFontStyling onGrammarChanged: -> {editor} = @props