items : [
{
xtype: GtkSource.View,
- pack : "add",
id : "view",
+ indent_width : 4,
+ pack : "add",
+ auto_indent : true,
init : function() {
XObject.prototype.init.call(this);
var description = Pango.Font.description_from_string("monospace")
this.el.modify_font(description);
},
+ insert_spaces_instead_of_tabs : true,
load : function(str) {
// show the help page for the active node..
- this.get('/Help').show();
+ //this.get('/Help').show();
- this.get('/BottomPane').el.set_current_page(0);
+ // this.get('/BottomPane').el.set_current_page(0);
this.el.get_buffer().set_text(str, str.length);
var lm = GtkSource.LanguageManager.get_default();
this.el.grab_focus();
},
- insert_spaces_instead_of_tabs : true,
- indent_width : 4,
- auto_indent : true,
show_line_numbers : true,
items : [
{