Syntax higlight in codemirror
<p>I have:</p>

<pre><code>&lt;script type="text/javascript"&gt;

    $(function() {
        var id = '&lt;%=txtEditor.ClientID%&gt;';
        var editor = CodeMirror.fromTextArea(document.getElementById(id), {
            mode: "application/xml",
            lineNumbers: true,
            buttons : ['undo','redo'],
            onCursorActivity: function() {
                editor.setLineClass(hlLine, null);
                hlLine = editor.setLineClass(editor.getCursor().line, "activeline");
            }
        });
        var hlLine = editor.setLineClass(0, "activeline");
    });

&lt;/script&gt;
</code></pre>

<p>Code works fine but unable to highlight syntax and button is not appear.Am i missing something.Thanks.</p>
