"# GtkSource.SearchContext searchcontext" : "",
"# JsRender.JsRender file" : "null",
"# Xcls_MainWindow main_window" : "",
+ "# int last_error_counter" : 0,
+ "# int last_search_end" : 0,
"$ xns" : "Gtk",
- "* init" : [
- "{",
- "",
- "\tthis.css = new Gtk.CssProvider();",
- "\t ",
- "\tthis.css.load_from_string(",
- "\t\t\"#gtkview-view-layout { background-color: #ccc; }\"",
- "\t);",
- "\t ",
- "\tGtk.StyleContext.add_provider_for_display(",
- "\t\tthis.el.get_display(),",
- "\t\tthis.css,",
- "\t\tGtk.STYLE_PROVIDER_PRIORITY_APPLICATION",
- "\t);",
- "\t\t",
- " ",
- "}",
- ""
- ],
- "Gtk.CssProvider css" : "",
"Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
"bool hexpand" : true,
"bool vexpand" : true,
"id" : "GtkView",
- "int last_error_counter" : 0,
- "int last_search_end" : 0,
"items" : [
{
"$ xns" : "Gtk",
"items" : [
{
"# JsRender.Node? node_selected" : "",
+ "# bool loading" : false,
"# string prop_selected" : "\"\"",
"$ xns" : "GtkSource",
"* init" : [
- "\t{",
+ "{",
"",
- "",
- "\tthis.css = new Gtk.CssProvider();",
- "\t ",
- "\tthis.css.load_from_string(\"#gtkview-view { font: 10px monospace ;}\");",
- "\t ",
- "\tGtk.StyleContext.add_provider_for_display(",
- "\t\tthis.el.get_display(),",
- "\t\tthis.css,",
- "\t\tGtk.STYLE_PROVIDER_PRIORITY_APPLICATION",
- "\t);",
- "\t\t",
- "\t\t ",
+ " ",
"\tthis.loading = true;",
"",
- "",
- "",
+ " ",
"\tvar attrs = new GtkSource.MarkAttributes();",
"\t attrs.set_icon_name ( \"process-stop\"); ",
"\tattrs.query_tooltip_text.connect(( mark) => {",
""
],
"* pack" : "set_child",
- "Gtk.CssProvider css" : "",
- "bool loading" : false,
- "bool zallow_node_scroll" : true,
+ "css_classes" : "{ \"code-editor\" }",
"gboolean editable" : false,
"gboolean show_line_marks" : true,
"gboolean show_line_numbers" : true,
"items" : [
{
"$ xns" : "Gtk",
- "* init" : [
- " ",
- "this.css = new Gtk.CssProvider();",
- "",
- "this.css.load_from_string(\"",
- "\t#gtkview-search-entry { font: 10px monospace ;}\"",
- ");",
- "",
- "Gtk.StyleContext.add_provider_for_display(",
- "\tthis.el.get_display(),",
- "\tthis.css,",
- "\tGtk.STYLE_PROVIDER_PRIORITY_APPLICATION",
- ");",
- "\t\t",
- "",
- ""
- ],
"Gtk.CssProvider css" : "",
"bool hexpand" : true,
"id" : "search_entry",