     is_active: () =>
         return @editor? and @editor._active_tab_filename == @filename
 
+    # call it, to set the @default_font_size from the account settings
+    init_font_size: () =>
+        if not @editor?
+            return
+        @default_font_size = redux.getStore('account').get('font_size')
+        #console.log("FileEditor@default_font_size: #{@default_font_size}")
+
     init_autosave: () =>
         if not @editor?  # object already freed
             return

#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
#    Copyright (C) 2014, William Stein
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by

        console.log "wizard insert:", lang, code
        cm = @focused_codemirror()
        line = cm.getCursor().line
        @syncdoc?.insert_new_cell(line)
        cm.replaceRange("%#{lang}\n#{code}", {line : line+1, ch:0})
        @syncdoc?.sync()

