this.parent = parent;
this.buttonToolbar = new ButtonToolbarView(
$('.xmlview-toolbar', this.element),
this.parent = parent;
this.buttonToolbar = new ButtonToolbarView(
$('.xmlview-toolbar', this.element),
this.parent.freeze('Ładowanie edytora...');
this.editor = new CodeMirror($('.xmlview', this.element).get(0), {
parserfile: 'parsexml.js',
this.parent.freeze('Ładowanie edytora...');
this.editor = new CodeMirror($('.xmlview', this.element).get(0), {
parserfile: 'parsexml.js',
editorDidLoad: function(editor) {
$(editor.frame).css({width: '100%', height: '100%'});
this.model
.addObserver(this, 'data', this.modelDataChanged.bind(this))
editorDidLoad: function(editor) {
$(editor.frame).css({width: '100%', height: '100%'});
this.model
.addObserver(this, 'data', this.modelDataChanged.bind(this))
// editor.grabKeys(
// $.fbind(self, self.hotkeyPressed),
// $.fbind(self, self.isHotkey)
// editor.grabKeys(
// $.fbind(self, self.hotkeyPressed),
// $.fbind(self, self.isHotkey)