     #CodeMirror.defineExtension 'setLine', (n, value) ->
     #    @replaceRange()
 
-FONT_FACES = buttonbar.FONT_FACES
-
 cm_start_end = (selection) ->
     {head, anchor} = selection
     start = head

{IS_MOBILE} = require('./feature')
misc        = require('smc-util/misc')
{dmp}       = require('smc-util/sync/editor/generic/util')
buttonbar   = require('./editors/editor-button-bar')
markdown    = require('./markdown')
theme       = require('smc-util/theme')
{QueryParams} = require('./misc/query-params')

        CodeMirror.registerHelper("hint", "stex", tex_hint)


    CodeMirror.defineExtension 'get_edit_mode', (opts) ->
        opts = defaults opts, {}
        cm = @
