         if @ext == 'sagews'
             @worksheet.process_sage_updates()
 
+#############################################
+# Editor for LaTeX documents
+#############################################
 
 class LatexEditor extends FileEditor
     constructor: (@editor, @filename, content, opts) ->

    hide: () =>
        @element.hide()


class HistoryEditor extends FileEditor
    constructor: (@editor, @filename, content, opts) ->

        @save_conf(conf)

    load_conf: () =>
        conf = @local_storage('conf')
        if not conf?
            conf = {}
        return conf

    save_conf: (conf) =>
        @local_storage('conf', conf)

    _pause_passive_search: (cb) =>
        @_passive_forward_search_disabled = true
