<commit_before>import React from 'react';
import DocsPanel from './DocsPanel';
import { initEditor } from '../editor/editor';

export default class Editor extends React.Component {
    componentDidMount () {
        // instantiate CodeMirror with the editor container element's
        // DOM node reference
        initEditor(this.editorEl);
        this.docsPanel.init();
    }

    render () {
        return (
            /* id='content' is used only as a hook for Divider right now */
            <div className='editor-container' id='content'>
                <div className='editor-container-child'>
                    <div className='editor' id='editor' ref={(ref) => { this.editorEl = ref; }} />
                    <DocsPanel ref={(ref) => { this.docsPanel = ref; }} />
                </div>
            </div>
        );
    }
}<commit_msg>Temporarily disable DocsPanel<commit_after>import React from 'react';
// import DocsPanel from './DocsPanel';
import { initEditor } from '../editor/editor';

export default class Editor extends React.Component {
    componentDidMount () {
        // instantiate CodeMirror with the editor container element's
        // DOM node reference
        initEditor(this.editorEl);

        // DocsPanel is temporarily disabled.
        // this.docsPanel.init();
    }

    render () {
        return (
            /* id='content' is used only as a hook for Divider right now */
            <div className='editor-container' id='content'>
                <div className='editor-container-child'>
                    <div className='editor' id='editor' ref={(ref) => { this.editorEl = ref; }} />
                    {/* <DocsPanel ref={(ref) => { this.docsPanel = ref; }} /> */}
                </div>
            </div>
        );
    }
}
{'fraction_non_alphanumeric': 0.1340437464946719, 'fraction_numerical': 0.0, 'mean_word_length': 1.9733333333333334, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1434489', 'n_tokens_mistral': 476, 'n_tokens_neox': 457, 'n_words': 128}