// set gobject values
this.el.homogeneous = false;
+ this.el.hexpand = true;
var child_0 = new Xcls_Box2( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,true );
this.el.show_line_marks = true;
this.el.insert_spaces_instead_of_tabs = true;
this.el.show_line_numbers = true;
+ this.el.draw_spaces = Gtk.SourceDrawSpacesFlags.LEADING + Gtk.SourceDrawSpacesFlags.TRAILING + Gtk.SourceDrawSpacesFlags.TAB + Gtk.SourceDrawSpacesFlags.SPACE;
+ this.el.tab_width = 4;
this.el.highlight_current_line = true;
var child_0 = new Xcls_buffer( _this );
child_0.ref();
var description = Pango.FontDescription.from_string("monospace");
description.set_size(8000);
this.el.override_font(description);
-
-
+ this.el.completion.add_provider(new Palete.CompletionProvider());
+
var attrs = new Gtk.SourceMarkAttributes();
var pink = Gdk.RGBA();
((Gtk.SourceBuffer)(this.el.get_buffer())) .set_language(lg);
this.el.insert_spaces_instead_of_tabs = true;
- if (lg.name == "vala") {
+
+ print("sourcelanguage = %s\n", lg.name);
+ if (lg.name == "Vala") {
this.el.insert_spaces_instead_of_tabs = false;
}