function _initCodeView(){
            
            if(_isMarkdownExtension(htVar.sPath)) {

                htElement.welFileView.removeClass('file-wrap');

                htElement.welCodeVal
                    .removeClass('hidden')
                    .addClass('markdown-wrap codebrowser-markdown');
            } else {

                if(!htVar.oEditor){
                    htVar.oEditor = _getEditor("showCode");
                }

                // Use explicit MIME Type if the server told which language is used to write the source code.
                // or the client should guess it.
                var sMimeType = htElement.welShowCode.data("mimetype");
                var aMatch = sMimeType.match(htVar.rxSub);
                var sMode = (aMatch ? aMatch[1] : _getEditorModeByPath(htVar.sPath)) || "text";

                htVar.oSession.setMode("ace/mode/" + sMode);
                htVar.oSession.setValue(htElement.welCodeVal.text());
                setTimeout(_resizeEditor, 50);
            }
        }
@param {String} sCode
@param {String} sMode